aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_sqlite3.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-08-11 12:39:49 +0100
committerGravatar Sadie Powell2023-08-11 12:39:49 +0100
commitf73e9e606b61324f4ac34d3f506b7cbaf87713c7 (patch)
tree1ca0ac7ed371483bd1d9a3fbec3959af61067dbb /src/modules/extra/m_sqlite3.cpp
parentMake the linkdata host/unix cloaks longer to test suffix truncation. (diff)
downloadinspircd++-f73e9e606b61324f4ac34d3f506b7cbaf87713c7.tar.gz
inspircd++-f73e9e606b61324f4ac34d3f506b7cbaf87713c7.tar.bz2
inspircd++-f73e9e606b61324f4ac34d3f506b7cbaf87713c7.zip
Rename the error log level to critical.
"ERROR" is apparently defined by more than just Windows. Let's pick a different name which is less likely to cause collisions.
Diffstat (limited to 'src/modules/extra/m_sqlite3.cpp')
-rw-r--r--src/modules/extra/m_sqlite3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index b98e4bc9c..919876b6e 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -113,7 +113,7 @@ public:
// Even in case of an error conn must be closed
sqlite3_close(conn);
conn = nullptr;
- ServerInstance->Logs.Error(MODNAME, "WARNING: Could not open DB with id: " + tag->getString("id"));
+ ServerInstance->Logs.Critical(MODNAME, "WARNING: Could not open DB with id: " + tag->getString("id"));
}
}