summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-05 07:31:26 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-05 07:31:26 +0000
commit7cbbb97f42ecfc77b93d4e6e8152f4e2600f00a7 (patch)
tree80190f5dcfb3aeac278b077460f2dd3659918f69
parentef048989f89eb15b4fc92b83f3ff58805e44a064 (diff)
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
-rw-r--r--src/cmd_whowas.cpp6
1 files 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;