summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-10 17:56:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-10 17:56:45 +0000
commit40361d85d8c75cfb12ed1078c83f9425dd789550 (patch)
tree099084e6446e54a39c1065563fd38ac99f5afbb5
parent8b8a479207923702a93b28829f400444d3bcc624 (diff)
Remove debug code left in here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6646 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_conn_waitpong.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp
index d7a4b833a..4d9cd4e18 100644
--- a/src/modules/m_conn_waitpong.cpp
+++ b/src/modules/m_conn_waitpong.cpp
@@ -81,7 +81,6 @@ class ModuleWaitPong : public Module
{
if(command == "PONG")
{
- ServerInstance->Log(DEBUG,"PONG command");
char* pingrpl;
user->GetExt(extenstr, pingrpl);
@@ -90,28 +89,23 @@ class ModuleWaitPong : public Module
ServerInstance->Log(DEBUG,"PONG command - has extend");
if(strcmp(pingrpl, parameters[0]) == 0)
{
- ServerInstance->Log(DEBUG,"PONG command - pong matches ping ");
DELETE(pingrpl);
user->Shrink(extenstr);
return 1;
}
else
{
- ServerInstance->Log(DEBUG,"PONG command - pong doesnt match ping");
if(killonbadreply)
userrec::QuitUser(ServerInstance, user, "Incorrect ping reply for registration");
return 1;
}
}
}
-
- ServerInstance->Log(DEBUG,"PONG command - fall through");
return 0;
}
virtual bool OnCheckReady(userrec* user)
{
- ServerInstance->Log(DEBUG,"PONG command - oncheckready");
char* pingrpl;
return (!user->GetExt(extenstr, pingrpl));
}