diff options
Diffstat (limited to 'src/ejabberd_s2s_out.erl')
-rw-r--r-- | src/ejabberd_s2s_out.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ejabberd_s2s_out.erl b/src/ejabberd_s2s_out.erl index 4da88b0cd..aec98ba6e 100644 --- a/src/ejabberd_s2s_out.erl +++ b/src/ejabberd_s2s_out.erl @@ -397,8 +397,8 @@ terminate(Reason, StateName, StateData) -> false -> ok; Key -> - ejabberd_s2s ! {closed_conection, {StateData#state.myname, - StateData#state.server}} + ejabberd_s2s:remove_connection({StateData#state.myname, + StateData#state.server}) end, case StateData#state.socket of undefined -> |