aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2011-09-09 11:29:46 +0200
committerBadlop <badlop@process-one.net>2011-09-09 11:29:46 +0200
commit151994c8d5eb5c93c71f4a1bc712d43dc183c664 (patch)
tree7e94ab3baa43b12768a18717f13b3a1207504378 /src
parentFixed support for multi-resource occupants (EJAB-305) (diff)
Avoid crash when performing admin action (thanks to Evgeniy Khramtsov)
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 2ea2272f0..461cd9660 100644
--- a/src/mod_muc/mod_muc_room.erl
+++ b/src/mod_muc/mod_muc_room.erl
@@ -2559,7 +2559,7 @@ find_changed_items(UJID, UAffiliation, URole,
S when S =/= false ->
try exmpp_jid:parse(S) of
J ->
- {value, J}
+ {value, [J]}
catch
_:_ ->
ErrText = io_lib:format(