From 46c667c5679183288b0f15c7a101784dede6170f Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Tue, 2 Feb 2010 11:49:49 +0000 Subject: [PATCH] changed Reason to shutdown when stopping destroyed MUC room SVN Revision: 2952 --- src/mod_muc/mod_muc_room.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl index 3ceda26dc..7caa93f7a 100644 --- a/src/mod_muc/mod_muc_room.erl +++ b/src/mod_muc/mod_muc_room.erl @@ -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)]),