mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-05 18:23:45 +01:00
Make last commit compile on R19
This commit is contained in:
parent
74731a5816
commit
9e0baef233
@ -728,9 +728,12 @@ terminate(Reason, _StateName, StateData) ->
|
|||||||
tab_remove_online_user(LJID, StateData)
|
tab_remove_online_user(LJID, StateData)
|
||||||
end, [], get_users_and_subscribers(StateData)),
|
end, [], get_users_and_subscribers(StateData)),
|
||||||
add_to_log(room_existence, stopped, StateData),
|
add_to_log(room_existence, stopped, StateData),
|
||||||
after
|
|
||||||
mod_muc:room_destroyed(StateData#state.host, StateData#state.room, self(),
|
mod_muc:room_destroyed(StateData#state.host, StateData#state.room, self(),
|
||||||
StateData#state.server_host)
|
StateData#state.server_host)
|
||||||
|
catch ?EX_RULE(E, R, St) ->
|
||||||
|
mod_muc:room_destroyed(StateData#state.host, StateData#state.room, self(),
|
||||||
|
StateData#state.server_host),
|
||||||
|
?ERROR_MSG("Got exception on room termination: ~p", [{E, {R, ?EX_STACK(St)}}])
|
||||||
end,
|
end,
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user