From 7d7177a6af558d280e22a38d28f7dd95ab3c3ba6 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Wed, 3 Feb 2010 11:50:37 +0000 Subject: [PATCH] changed Reason to shutdown when stopping destroyed MUC room SVN Revision: 2956 --- 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 0612eeb88..344e55535 100644 --- a/src/mod_muc/mod_muc_room.erl +++ b/src/mod_muc/mod_muc_room.erl @@ -594,7 +594,7 @@ handle_event({destroy, Reason}, _StateName, StateData) -> ?INFO_MSG("Destroyed MUC room ~s with reason: ~p", [exmpp_jid:to_binary(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", [exmpp_jid:to_binary(StateData#state.jid)]),