1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 16:43:13 +02:00

Fix the on start library version logging to include the module.

This commit is contained in:
Sadie Powell
2025-03-05 16:03:23 +00:00
parent a0a9d433dc
commit 14342f6375
8 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -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"))