mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
changed Reason to shutdown when stopping destroyed MUC room
SVN Revision: 2956
This commit is contained in:
parent
f5e6c9a2a3
commit
7d7177a6af
@ -594,7 +594,7 @@ handle_event({destroy, Reason}, _StateName, StateData) ->
|
|||||||
?INFO_MSG("Destroyed MUC room ~s with reason: ~p",
|
?INFO_MSG("Destroyed MUC room ~s with reason: ~p",
|
||||||
[exmpp_jid:to_binary(StateData#state.jid), Reason]),
|
[exmpp_jid:to_binary(StateData#state.jid), Reason]),
|
||||||
add_to_log(room_existence, destroyed, StateData),
|
add_to_log(room_existence, destroyed, StateData),
|
||||||
{stop, Reason, StateData};
|
{stop, shutdown, StateData};
|
||||||
handle_event(destroy, StateName, StateData) ->
|
handle_event(destroy, StateName, StateData) ->
|
||||||
?INFO_MSG("Destroyed MUC room ~s",
|
?INFO_MSG("Destroyed MUC room ~s",
|
||||||
[exmpp_jid:to_binary(StateData#state.jid)]),
|
[exmpp_jid:to_binary(StateData#state.jid)]),
|
||||||
|
Loading…
Reference in New Issue
Block a user