From 56481aed7e1dbfde05d39a9790d7e3fb2276a0e9 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 22 Dec 2006 20:13:14 +0000 Subject: Remove useless debug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6062 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/users.cpp b/src/users.cpp index 71c88ee85..268e08d2f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1025,8 +1025,6 @@ void userrec::AddClient(InspIRCd* Instance, int socket, int port, bool iscached, ConnectClass* i = New->GetClass(); - Instance->Log(DEBUG,"Class=%08x", i); - if ((!i) || (i->GetType() == CC_DENY)) { userrec::QuitUser(Instance, New,"Unauthorised connection"); @@ -1920,15 +1918,9 @@ ConnectClass* userrec::GetClass() { for (ClassVector::iterator i = ServerInstance->Config->Classes.begin(); i != ServerInstance->Config->Classes.end(); i++) { - ServerInstance->Log(DEBUG, "IP=%s, HOST=%s, CLASS=%s", this->GetIPString(), this->host,i->GetHost().c_str()); if ((match(this->GetIPString(),i->GetHost().c_str(),true)) || (match(this->host,i->GetHost().c_str()))) - { - ServerInstance->Log(DEBUG, "Matches!"); return &(*i); - } } - - ServerInstance->Log(DEBUG, "You get nowt!"); return NULL; } -- cgit v1.2.3