mirror of
https://github.com/anope/anope.git
synced 2026-07-08 15:43:12 +02:00
Fix m_ldap service names from defaulting ldap/ldap/main
This commit is contained in:
@@ -199,7 +199,7 @@ class ModuleSQL : public Module, public Pipe
|
||||
++it;
|
||||
|
||||
for (i = 0; i < config->CountBlock("mysql"); ++i)
|
||||
if (config->GetBlock("mysql", i)->Get<const Anope::string>("name", "main") == cname)
|
||||
if (config->GetBlock("mysql", i)->Get<const Anope::string>("name", "mysql/main") == cname)
|
||||
break;
|
||||
|
||||
if (i == config->CountBlock("mysql"))
|
||||
|
||||
Reference in New Issue
Block a user