From: peavey Date: Tue, 5 Jun 2007 07:31:26 +0000 (+0000) Subject: If the whowas maps really do fail, log it as default and not debug. X-Git-Tag: v2.0.23~5190 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=7cbbb97f42ecfc77b93d4e6e8152f4e2600f00a7;p=user%2Fhenk%2Fcode%2Finspircd.git If the whowas maps really do fail, log it as default and not debug. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7233 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/cmd_whowas.cpp b/src/cmd_whowas.cpp index 10643680c..2d504c47c 100644 --- a/src/cmd_whowas.cpp +++ b/src/cmd_whowas.cpp @@ -207,7 +207,7 @@ void cmd_whowas::PruneWhoWas(time_t t) if (iter == whowas.end()) { /* this should never happen, if it does maps are corrupt */ - ServerInstance->Log(DEBUG, "BUG: Whowas maps got corrupted! (1)"); + ServerInstance->Log(DEFAULT, "BUG: Whowas maps got corrupted! (1)"); return; } whowas_set* n = (whowas_set*)iter->second; @@ -237,7 +237,7 @@ void cmd_whowas::PruneWhoWas(time_t t) if (iter == whowas.end()) { /* this should never happen, if it does maps are corrupt */ - ServerInstance->Log(DEBUG, "BUG: Whowas maps got corrupted! (2)"); + ServerInstance->Log(DEFAULT, "BUG: Whowas maps got corrupted! (2)"); return; } whowas_set* n = (whowas_set*)iter->second; @@ -289,7 +289,7 @@ cmd_whowas::~cmd_whowas() if (iter == whowas.end()) { /* this should never happen, if it does maps are corrupt */ - ServerInstance->Log(DEBUG, "BUG: Whowas maps got corrupted! (3)"); + ServerInstance->Log(DEFAULT, "BUG: Whowas maps got corrupted! (3)"); return; } whowas_set* n = (whowas_set*)iter->second;