mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 07:08:10 +00:00
Replace fully-qualified call to local
This commit is contained in:
parent
31cec780e4
commit
c8d8edfb27
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue