]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
If the whowas maps really do fail, log it as default and not debug.
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 5 Jun 2007 07:31:26 +0000 (07:31 +0000)
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 5 Jun 2007 07:31:26 +0000 (07:31 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7233 e03df62e-2008-0410-955e-edbf42e46eb7

src/cmd_whowas.cpp

index 10643680c1316c4a4fa0ac3b1605a98229b6e472..2d504c47c8f80af9a2fb67122d75ca9c419f14f1 100644 (file)
@@ -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;