summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-22 20:13:14 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-22 20:13:14 +0000
commit56481aed7e1dbfde05d39a9790d7e3fb2276a0e9 (patch)
treeca520516ac6e5edf76669ab1c34372d5c33cad6c /src/users.cpp
parent49eabd1197dcd604950e6d6b6d838ba2e63188ab (diff)
Remove useless debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6062 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-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;
}