]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_sqlite3.cpp
Convert remaining InspIRCd::Log() calls to new logging system
[user/henk/code/inspircd.git] / src / modules / extra / m_sqlite3.cpp
index 1e62eb9710ba6a3397876f1b067382592b3b9714..9a5c900f2a39d5de20bdacd458d30e1bd33b2e3b 100644 (file)
@@ -264,7 +264,7 @@ class SQLConn : public classbase
        {
                if (OpenDB() != SQLITE_OK)
                {
-                       Instance->Log(DEFAULT, "WARNING: Could not open DB with id: " + host.id);
+                       Instance->Logs->Log("m_sqlite3",DEFAULT, "WARNING: Could not open DB with id: " + host.id);
                        CloseDB();
                }
        }
@@ -572,7 +572,7 @@ class ModuleSQLite3 : public Module
        {
                if (HasHost(hi))
                {
-                       ServerInstance->Log(DEFAULT, "WARNING: A sqlite connection with id: %s already exists. Aborting database open attempt.", hi.id.c_str());
+                       ServerInstance->Logs->Log("m_sqlite3",DEFAULT, "WARNING: A sqlite connection with id: %s already exists. Aborting database open attempt.", hi.id.c_str());
                        return;
                }