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}]},