aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_muc/mod_muc_room.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl
index 2b4ba9410..3ceda26dc 100644
--- a/src/mod_muc/mod_muc_room.erl
+++ b/src/mod_muc/mod_muc_room.erl
@@ -734,7 +734,7 @@ terminate(Reason, _StateName, StateData) ->
ReasonT = case Reason of
shutdown -> "You are being removed from the room because"
" of a system shutdown";
- _ -> atom_to_list(Reason)
+ _ -> "Room terminates"
end,
ItemAttrs = [{"affiliation", "none"}, {"role", "none"}],
ReasonEl = {xmlelement, "reason", [], [{xmlcdata, ReasonT}]},