25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

* src/mod_muc/mod_muc.erl: Return bad-request if no x:data form

submited with nick registration

SVN Revision: 104
This commit is contained in:
Alexey Shchepin 2003-05-07 14:17:53 +00:00
parent c2ca4e00dc
commit d2c39490f1
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-05-07 Alexey Shchepin <alexey@sevcom.net>
* 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

View File

@ -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}