Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2011-09-09 13:29:46 +0400
committerBadlop <badlop@process-one.net>2011-09-09 13:29:46 +0400
commit151994c8d5eb5c93c71f4a1bc712d43dc183c664 (patch)
tree7e94ab3baa43b12768a18717f13b3a1207504378
parent1aa36cb05cc0b161418ec85218bcc61542fbf79c (diff)
Avoid crash when performing admin action (thanks to Evgeniy Khramtsov)
-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(