From d769fef63f2f9ccd929aa51fda3c3da7ec389181 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 15 Jan 2007 23:49:24 +0000 Subject: Crusade to remove debug from stable and tested parts of the core and base modules. Most of the code here being de-noised hasnt had a crash or bug in it for many months, if not a year so the debug output is useless noise in the logfile when trying to trace a bug in a REAL problem area. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6356 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index b75a91715..ce083b3b9 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -41,8 +41,6 @@ InspIRCd* SI = NULL; void InspIRCd::AddServerName(const std::string &servername) { - this->Log(DEBUG,"Adding server name: %s",servername.c_str()); - if(find(servernames.begin(), servernames.end(), servername) == servernames.end()) servernames.push_back(servername); /* Wasn't already there. */ } @@ -409,10 +407,8 @@ InspIRCd::InspIRCd(int argc, char** argv) /* Add the listening sockets used for client inbound connections * to the socket engine */ - this->Log(DEBUG,"%d listeners",stats->BoundPortCount); for (unsigned long count = 0; count < stats->BoundPortCount; count++) { - this->Log(DEBUG,"Add listener: %d",Config->openSockfd[count]->GetFd()); if (!SE->AddFd(Config->openSockfd[count])) { printf("\nEH? Could not add listener to socketengine. You screwed up, aborting.\n"); @@ -531,10 +527,6 @@ void InspIRCd::MoveTo(std::string modulename,int slot) Config->implement_lists[slot][n] = x; } } - else - { - this->Log(DEBUG,"Move of %s to slot failed!",modulename.c_str()); - } } void InspIRCd::MoveAfter(std::string modulename, std::string after) @@ -700,8 +692,6 @@ bool InspIRCd::LoadModule(const char* filename) snprintf(MODERR,MAXBUF,"Module %s is not within the modules directory.",modfile); return false; } - this->Log(DEBUG,"Loading module: %s",modfile); - if (ServerConfig::FileExists(modfile)) { -- cgit v1.2.3