From ee80c158465a01e7d9840de418b652090aaac36b Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 22 Jan 2009 13:51:35 +0000 Subject: Revert "Check nickname validity on introduction, closes bug #682 reported by danieldg (thanks)." This broke stuff. This reverts commit 4d29ae6cc6c4f5ba410b58cc0807f018484f6447. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10975 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/uid.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp index 80aa49482..749922c62 100644 --- a/src/modules/m_spanningtree/uid.cpp +++ b/src/modules/m_spanningtree/uid.cpp @@ -62,11 +62,6 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque &pa this->SendError("Invalid client introduction (Malformed MODE sequence?)"); return false; } - else if (!ServerInstance->IsNick(parameters[0].c_str(), ServerInstance->Config->Limits.NickMax)) - { - this->SendError("Invalid client introduction (Nickname was not valid according to me)"); - return false; - } /* check for collision */ user_hash::iterator iter = this->ServerInstance->Users->clientlist->find(params[2]); -- cgit v1.2.3