summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 13:51:35 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 13:51:35 +0000
commitee80c158465a01e7d9840de418b652090aaac36b (patch)
tree11ffd3a26f6b727d33f8a89db98f8f96ae5f9907 /src
parent02cdc2adcd3d47250cf232ce54f88f03226a1daf (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/uid.cpp5
1 files changed, 0 insertions, 5 deletions
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<std::string> &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]);