mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
changed Reason to shutdown when stopping destroyed MUC room
SVN Revision: 2952
This commit is contained in:
parent
db3f8487fc
commit
46c667c567
@ -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)]),
|
||||
|
Loading…
Reference in New Issue
Block a user