25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

* src/mod_muc/mod_muc.erl: Denied using of empty nick

SVN Revision: 105
This commit is contained in:
Alexey Shchepin 2003-05-08 11:46:38 +00:00
parent d2c39490f1
commit 848b06db12
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-05-08 Alexey Shchepin <alexey@sevcom.net>
* src/mod_muc/mod_muc.erl: Denied using of empty nick
2003-05-07 Alexey Shchepin <alexey@sevcom.net>
* src/mod_muc/mod_muc.erl: Return bad-request if no x:data form

View File

@ -338,6 +338,8 @@ process_iq_register_set(From, SubEl) ->
end.
can_use_nick(JID, "") ->
false;
can_use_nick(JID, Nick) ->
{LUser, LServer, _} = jlib:jid_tolower(JID),
LUS = {LUser, LServer},