diff options
author | Adam <Adam@anope.org> | 2013-07-21 00:37:21 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-21 00:37:21 -0400 |
commit | e11abdc4f00b19feae7830d4de6098e282e7eb39 (patch) | |
tree | e4e6b48a1fc0ed5a205b7c89cd984f3e24f111d3 /modules/extra/m_mysql.cpp | |
parent | 5aac04dffe1aafc3f6c26828844fdb6d42dc66c8 (diff) |
Fix m_ldap service names from defaulting ldap/ldap/main
Diffstat (limited to 'modules/extra/m_mysql.cpp')
-rw-r--r-- | modules/extra/m_mysql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_mysql.cpp b/modules/extra/m_mysql.cpp index 3ca8404ba..ceb7af0ef 100644 --- a/modules/extra/m_mysql.cpp +++ b/modules/extra/m_mysql.cpp @@ -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")) |