From 50acad5ce451b44b469890fe46ce14c7ffd031ca Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 10 Dec 2014 02:09:51 -0500 Subject: Unconst these config Get calls as it makes no sense --- modules/extra/stats/irc2sql/irc2sql.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/extra/stats/irc2sql') diff --git a/modules/extra/stats/irc2sql/irc2sql.cpp b/modules/extra/stats/irc2sql/irc2sql.cpp index bc302c575..fbb56f4a7 100644 --- a/modules/extra/stats/irc2sql/irc2sql.cpp +++ b/modules/extra/stats/irc2sql/irc2sql.cpp @@ -11,18 +11,18 @@ void IRC2SQL::OnShutdown() void IRC2SQL::OnReload(Configuration::Conf *conf) { Configuration::Block *block = Config->GetModule(this); - prefix = block->Get("prefix", "anope_"); - GeoIPDB = block->Get("geoip_database"); + prefix = block->Get("prefix", "anope_"); + GeoIPDB = block->Get("geoip_database"); ctcpuser = block->Get("ctcpuser", "no"); ctcpeob = block->Get("ctcpeob", "yes"); - Anope::string engine = block->Get("engine"); + Anope::string engine = block->Get("engine"); this->sql = ServiceReference("SQL::Provider", engine); if (sql) this->CheckTables(); else Log() << "IRC2SQL: no database connection to " << engine; - const Anope::string &snick = block->Get("client"); + const Anope::string &snick = block->Get("client"); if (snick.empty()) throw ConfigException(Module::name + ": must be defined"); StatServ = ServiceBot::Find(snick, true); -- cgit