From d2c39490f10952f8fdc3337b26d6b87c6522ac6d Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Wed, 7 May 2003 14:17:53 +0000 Subject: [PATCH] * src/mod_muc/mod_muc.erl: Return bad-request if no x:data form submited with nick registration SVN Revision: 104 --- ChangeLog | 3 +++ src/mod_muc/mod_muc.erl | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7888dc736..2ab2c23be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-05-07 Alexey Shchepin + * src/mod_muc/mod_muc.erl: Return bad-request if no x:data form + submited with nick registration + * src/mod_muc/mod_muc_room.erl: Don't check permissions on disco info query processing diff --git a/src/mod_muc/mod_muc.erl b/src/mod_muc/mod_muc.erl index f8a6d12e9..06cd2198e 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} -- 2.40.0