Replace fully-qualified call to local

This commit is contained in:
Сергей Прохоров 2019-05-21 18:03:25 +02:00
parent 31cec780e4
commit c8d8edfb27
No known key found for this signature in database
GPG key ID: 1C570244E4EF3337

View file

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