Fix bug in automatic TG config/IP updater

parent 2b108644
...@@ -78,8 +78,11 @@ init([]) -> ...@@ -78,8 +78,11 @@ init([]) ->
protected, protected,
named_table, named_table,
{read_concurrency, true}]), {read_concurrency, true}]),
{ok, update(#state{tab = Tab, State = #state{tab = Tab,
timer = Timer}, force)}. timer = Timer},
update(State, force),
{ok, State}.
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
handle_call(_Request, _From, State) -> handle_call(_Request, _From, State) ->
Reply = ok, 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