]> granicus.if.org Git - ejabberd/commitdiff
* src/mod_muc/mod_muc.erl: Denied using of empty nick
authorAlexey Shchepin <alexey@process-one.net>
Thu, 8 May 2003 11:46:38 +0000 (11:46 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Thu, 8 May 2003 11:46:38 +0000 (11:46 +0000)
SVN Revision: 105

ChangeLog
src/mod_muc/mod_muc.erl

index 2ab2c23bec666eb446b3bc97f08b73f55d05ccf0..3dc6d2f2bc2f0dbb16763109d4673f28b08ab222 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 06cd2198eff6643b7215a30956f7a51e95d64487..ac8d13207357585f3046150df428f6bba1948f04 100644 (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},