summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-10-11 15:35:24 +0100
committerSadie Powell <sadie@witchery.services>2023-10-11 15:51:52 +0100
commit8e1c7e1e442958b200360a53869f08e0344c8c99 (patch)
tree3abe5545c26bb351f981928c164a3d1de7e5566e /modules
parenta3241065c55fd2a69e8793b89a5d0b1a957b3fd0 (diff)
parent6119586920efb0fbafbaef73c13fd7afb2aa60e7 (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'modules')
-rw-r--r--modules/database/db_sql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/database/db_sql.cpp b/modules/database/db_sql.cpp
index 0f89de06d..f508c1615 100644
--- a/modules/database/db_sql.cpp
+++ b/modules/database/db_sql.cpp
@@ -76,7 +76,7 @@ class DBSQL : public Module, public Pipe
if (last_warn + 300 < Anope::CurTime)
{
last_warn = Anope::CurTime;
- Log(this) << "db_sql: Unable to execute query, is SQL configured correctly?";
+ Log(this) << "db_sql: Unable to execute query, is SQL (" << this->sql.GetServiceName() << ") configured correctly?";
}
}
else if (!Anope::Quitting)
@@ -172,7 +172,7 @@ class DBSQL : public Module, public Pipe
{
if (!this->sql)
{
- Log(this) << "Unable to load databases, is SQL configured correctly?";
+ Log(this) << "Unable to load databases, is SQL (" << this->sql.GetServiceName() << ") configured correctly?";
return EVENT_CONTINUE;
}