25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

changed Reason to shutdown when stopping destroyed MUC room

SVN Revision: 2952
This commit is contained in:
Evgeniy Khramtsov 2010-02-02 11:49:49 +00:00
parent db3f8487fc
commit 46c667c567

View File

@ -571,7 +571,7 @@ handle_event({destroy, Reason}, _StateName, StateData) ->
?INFO_MSG("Destroyed MUC room ~s with reason: ~p",
[jlib:jid_to_string(StateData#state.jid), Reason]),
add_to_log(room_existence, destroyed, StateData),
{stop, Reason, StateData};
{stop, shutdown, StateData};
handle_event(destroy, StateName, StateData) ->
?INFO_MSG("Destroyed MUC room ~s",
[jlib:jid_to_string(StateData#state.jid)]),