aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2010-02-02 11:14:48 +0000
committerBadlop <badlop@process-one.net>2010-02-02 11:14:48 +0000
commitdb3f8487fca68b99e78a4062c482eb000ab6300f (patch)
tree72246abec7c4bb39a7750097fd21a0a9c927a958 /src
parentAdded new acl for mod_register: access_from. This acl is applied if existing ... (diff)
Fix bug handling Reason in gen_fsm:terminate
SVN Revision: 2950
Diffstat (limited to 'src')
-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}]},