summaryrefslogtreecommitdiff
path: root/src/mod_muc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_muc')
-rw-r--r--src/mod_muc/mod_muc.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mod_muc/mod_muc.erl b/src/mod_muc/mod_muc.erl
index f8a6d12e..06cd2198 100644
--- a/src/mod_muc/mod_muc.erl
+++ b/src/mod_muc/mod_muc.erl
@@ -329,7 +329,9 @@ process_iq_register_set(From, SubEl) ->
{error, ?ERR_BAD_REQUEST};
_ ->
iq_set_register_info(From, XData)
- end
+ end;
+ _ ->
+ {error, ?ERR_BAD_REQUEST}
end;
_ ->
{error, ?ERR_BAD_REQUEST}