From 7cbbb97f42ecfc77b93d4e6e8152f4e2600f00a7 Mon Sep 17 00:00:00 2001 From: peavey Date: Tue, 5 Jun 2007 07:31:26 +0000 Subject: [PATCH] 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 --- src/cmd_whowas.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5