Replace fully-qualified call to local

parent 31cec780
...@@ -130,7 +130,7 @@ config_changed(Action, ports, Ports) when Action == new; Action == changed -> ...@@ -130,7 +130,7 @@ config_changed(Action, ports, Ports) when Action == new; Action == changed ->
ToStop = ordsets:subtract(RanchPorts, NewPorts), ToStop = ordsets:subtract(RanchPorts, NewPorts),
ToStart = ordsets:subtract(NewPorts, RanchPorts), ToStart = ordsets:subtract(NewPorts, RanchPorts),
lists:foreach(fun stop_proxy/1, ToStop), lists:foreach(fun stop_proxy/1, ToStop),
[{ok, _} = mtproto_proxy_app:start_proxy(Conf) || Conf <- ToStart], [{ok, _} = start_proxy(Conf) || Conf <- ToStart],
ok; ok;
config_changed(Action, K, V) -> config_changed(Action, K, V) ->
%% Most of the other config options are applied automatically without extra work %% Most of the other config options are applied automatically without extra work
......
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