From 6b6db59d5fa3ffbde5f80f2e1b0900974485f145 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 27 Aug 2007 19:35:31 +0000 Subject: 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 --- src/modules/m_spanningtree/treesocket1.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src') 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 &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) { -- cgit v1.2.3