mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Make sure 'closed' event is correctly processed on every state
This commit is contained in:
parent
d9c01e8ed9
commit
606c207e21
@ -248,7 +248,7 @@ open_socket(init, StateData) ->
|
||||
wait_before_reconnect(StateData)
|
||||
end
|
||||
end;
|
||||
open_socket(stop, StateData) ->
|
||||
open_socket(closed, StateData) ->
|
||||
?INFO_MSG("s2s connection: ~s -> ~s (stopped in open socket)",
|
||||
[StateData#state.myname, StateData#state.server]),
|
||||
{stop, normal, StateData};
|
||||
|
Loading…
Reference in New Issue
Block a user