Fix bug in automatic TG config/IP updater

parent 2b108644
......@@ -78,8 +78,11 @@ init([]) ->
protected,
named_table,
{read_concurrency, true}]),
{ok, update(#state{tab = Tab,
timer = Timer}, force)}.
State = #state{tab = Tab,
timer = Timer},
update(State, force),
{ok, State}.
%%--------------------------------------------------------------------
handle_call(_Request, _From, State) ->
Reply = ok,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment