Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mtproto_proxy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mtproto_proxy
Commits
c8d8edfb
Unverified
Commit
c8d8edfb
authored
May 21, 2019
by
Сергей Прохоров
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace fully-qualified call to local
parent
31cec780
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mtproto_proxy_app.erl
src/mtproto_proxy_app.erl
+1
-1
No files found.
src/mtproto_proxy_app.erl
View file @
c8d8edfb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment