From: Badlop Date: Fri, 9 Sep 2011 09:29:46 +0000 (+0200) Subject: Avoid crash when performing admin action (thanks to Evgeniy Khramtsov) X-Git-Tag: v3.0.0-alpha-4~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=151994c8d5eb5c93c71f4a1bc712d43dc183c664;p=ejabberd Avoid crash when performing admin action (thanks to Evgeniy Khramtsov) --- 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(