aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_pgsql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
-rw-r--r--src/modules/extra/m_pgsql.cpp2
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;
}