From ef06226521d27de88a49a84d8224568fec7624c3 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 6 May 2013 07:40:43 -0400 Subject: Update the rest of modules.example.conf, default inspircd status modes to a sane rank incase they are prefixless, and 50 other things --- modules/extra/m_mysql.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/extra/m_mysql.cpp') diff --git a/modules/extra/m_mysql.cpp b/modules/extra/m_mysql.cpp index a61f11e8b..8cf12ca79 100644 --- a/modules/extra/m_mysql.cpp +++ b/modules/extra/m_mysql.cpp @@ -212,9 +212,9 @@ class ModuleSQL : public Module, public Pipe } } - for (i = 0; i < Config->CountBlock("mysql"); ++i) + for (i = 0; i < config->CountBlock("mysql"); ++i) { - Configuration::Block *block = Config->GetBlock("mysql", i); + Configuration::Block *block = config->GetBlock("mysql", i); const Anope::string &connname = block->Get("name", "mysql/main"); if (this->MySQLServices.find(connname) == this->MySQLServices.end()) -- cgit