diff options
author | Alexey Shchepin <alexey@process-one.net> | 2003-05-07 14:17:53 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2003-05-07 14:17:53 +0000 |
commit | d2c39490f10952f8fdc3337b26d6b87c6522ac6d (patch) | |
tree | aed5716df53f84209879f2b8f25d59d322237f1d /src/mod_muc | |
parent | * src/mod_muc/mod_muc_room.erl: Don't check permissions on disco (diff) |
* src/mod_muc/mod_muc.erl: Return bad-request if no x:data form
submited with nick registration
SVN Revision: 104
Diffstat (limited to 'src/mod_muc')
-rw-r--r-- | src/mod_muc/mod_muc.erl | 4 |
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} |