From c8d8edfb276b14f92d7a3a2fb23500e255687e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9F=D1=80=D0=BE?= =?UTF-8?q?=D1=85=D0=BE=D1=80=D0=BE=D0=B2?= Date: Tue, 21 May 2019 18:03:25 +0200 Subject: [PATCH] Replace fully-qualified call to local --- src/mtproto_proxy_app.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mtproto_proxy_app.erl b/src/mtproto_proxy_app.erl index b495bd6..44eac5a 100644 --- a/src/mtproto_proxy_app.erl +++ b/src/mtproto_proxy_app.erl @@ -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