summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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]);