diff options
| author | 2023-08-11 12:39:49 +0100 | |
|---|---|---|
| committer | 2023-08-11 12:39:49 +0100 | |
| commit | f73e9e606b61324f4ac34d3f506b7cbaf87713c7 (patch) | |
| tree | 1ca0ac7ed371483bd1d9a3fbec3959af61067dbb /src/modules/extra/m_pgsql.cpp | |
| parent | Make the linkdata host/unix cloaks longer to test suffix truncation. (diff) | |
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_pgsql.cpp')
| -rw-r--r-- | src/modules/extra/m_pgsql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 97476d2d5..5205a402b 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -308,7 +308,7 @@ public: bool HandleConnectError(const char* reason) { - ServerInstance->Logs.Error(MODNAME, "Could not connect to the \"{}\" database: {}", + ServerInstance->Logs.Critical(MODNAME, "Could not connect to the \"{}\" database: {}", GetId(), reason); return false; } |
