From f73e9e606b61324f4ac34d3f506b7cbaf87713c7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 11 Aug 2023 12:39:49 +0100 Subject: 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. --- src/modules/extra/m_pgsql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra/m_pgsql.cpp') 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; } -- cgit v1.3.1-10-gc9f91