25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix typo on state reuse

It should help with the crash on #453
This commit is contained in:
Mickaël Rémond 2015-03-03 22:19:51 +01:00
parent d8b048663d
commit f0f8301b5e

View File

@ -697,7 +697,7 @@ terminate(_Reason, _StateName, FullStateData) ->
<<"Server Connect Failed">>}]},
FullStateData}
end,
(FullStateData#state.mod):closed_connection(StateData#state.host,
(StateData#state.mod):closed_connection(StateData#state.host,
StateData#state.user,
StateData#state.server),
bounce_messages(<<"Server Connect Failed">>),