summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 19:35:31 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 19:35:31 +0000
commit6b6db59d5fa3ffbde5f80f2e1b0900974485f145 (patch)
tree803a4e512cb38c7995c9fdb5cf4224bd52d0cb2a /src/modules/m_spanningtree
parent5e95c0e559edd3445f8a9c8c819e6bb9ab25cabd (diff)
Remove check for duplicate UUID, constructor of userrec throws for us instead
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7916 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp
index d0572f97d..f419f9bec 100644
--- a/src/modules/m_spanningtree/treesocket1.cpp
+++ b/src/modules/m_spanningtree/treesocket1.cpp
@@ -932,16 +932,6 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque<std::string> &pa
return true;
}
- userrec *u = this->Instance->FindUUID(params[0]);
-
- if (u)
- {
- /* barf! */
- userrec::QuitUser(this->Instance, u, "UID collision (?!)");
- this->WriteLine(std::string(":")+this->Instance->Config->ServerName+" KILL "+params[0]+" :Invalid client introduction (UID collision (?!))");
- return true;
- }
-
/* Check parameters for validity before introducing the client, discovered by dmb */
if (!age)
{