summaryrefslogtreecommitdiff
path: root/modules/extra/mysql.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-03-05 16:03:23 +0000
committerSadie Powell <sadie@witchery.services>2025-03-05 16:03:23 +0000
commit14342f6375cce455ddde79cb9403daea6a727b7f (patch)
tree5ccb6680807983962320df7a0f8b8f277a808ea1 /modules/extra/mysql.cpp
parenta0a9d433dce2827e8aeae29aa2eb5325ed7af150 (diff)
Fix the on start library version logging to include the module.
Diffstat (limited to 'modules/extra/mysql.cpp')
-rw-r--r--modules/extra/mysql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/mysql.cpp b/modules/extra/mysql.cpp
index 0d39c87a4..9a0a92710 100644
--- a/modules/extra/mysql.cpp
+++ b/modules/extra/mysql.cpp
@@ -245,7 +245,7 @@ public:
DThread = new DispatcherThread();
DThread->Start();
- Log() << "Module was compiled against MySQL version " << (MYSQL_VERSION_ID / 10000) << "." << (MYSQL_VERSION_ID / 100 % 100) << "." << (MYSQL_VERSION_ID % 100) << " and is running against version " << mysql_get_client_info();
+ Log(this) << "Module was compiled against MySQL version " << (MYSQL_VERSION_ID / 10000) << "." << (MYSQL_VERSION_ID / 100 % 100) << "." << (MYSQL_VERSION_ID % 100) << " and is running against version " << mysql_get_client_info();
}
~ModuleSQL()
@@ -273,7 +273,7 @@ public:
++it;
for (i = 0; i < Config->CountBlock("mysql"); ++i)
- if (config.GetBlock("mysql", i).Get<const Anope::string>("name", "mysql/main") == cname)
+ if (config.GetBlock("mysql", i).Get<const Anope::string>("name", "mysql/main") == cname)
break;
if (i == Config->CountBlock("mysql"))