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:
parent
d2c39490f1
commit
848b06db12
@ -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
|
||||
|
@ -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},
|
||||
|
Loading…
Reference in New Issue
Block a user