Fix for command rooms_unused_destroy in ejabberd 2.1.11+

This commit is contained in:
Badlop 2013-10-14 17:09:12 +02:00
parent 93e0695c88
commit 93bba1d1fd
1 changed files with 1 additions and 1 deletions

View File

@ -634,7 +634,7 @@ act_on_room(destroy, {N, H, Pid}, SH) ->
gen_fsm:send_all_state_event(
Pid, {destroy, "Room destroyed by rooms_unused_destroy."}),
mod_muc:room_destroyed(H, N, Pid, SH),
mod_muc:forget_room(H, N);
mod_muc:forget_room(SH, H, N);
act_on_room(list, _, _) ->
ok.