summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp8
1 files changed, 0 insertions, 8 deletions
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;
}