summaryrefslogtreecommitdiff
path: root/src/mod_muc_room.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_muc_room.erl')
-rw-r--r--src/mod_muc_room.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl
index 3e06e284..50ad9dd1 100644
--- a/src/mod_muc_room.erl
+++ b/src/mod_muc_room.erl
@@ -913,11 +913,9 @@ terminate(Reason, _StateName,
_ ->
ok
end
- end,
- mod_muc:room_destroyed(Host, Room, self(), LServer)
+ end
catch ?EX_RULE(E, R, St) ->
StackTrace = ?EX_STACK(St),
- mod_muc:room_destroyed(Host, Room, self(), LServer),
?ERROR_MSG("Got exception on room termination:~n** ~ts",
[misc:format_exception(2, E, R, StackTrace)])
end.