summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_fantasy_stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/cs_fantasy_stats.cpp')
-rw-r--r--modules/chanserv/cs_fantasy_stats.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/chanserv/cs_fantasy_stats.cpp b/modules/chanserv/cs_fantasy_stats.cpp
index eae70f116..096bb6a31 100644
--- a/modules/chanserv/cs_fantasy_stats.cpp
+++ b/modules/chanserv/cs_fantasy_stats.cpp
@@ -77,10 +77,10 @@ public:
}
- void OnReload(Configuration::Conf *conf) override
+ void OnReload(Configuration::Conf &conf) override
{
- prefix = conf->GetModule("chanstats")->Get<const Anope::string>("prefix", "anope_");
- this->sql = ServiceReference<SQL::Provider>("SQL::Provider", conf->GetModule("chanstats")->Get<const Anope::string>("engine"));
+ prefix = conf.GetModule("chanstats").Get<const Anope::string>("prefix", "anope_");
+ this->sql = ServiceReference<SQL::Provider>("SQL::Provider", conf.GetModule("chanstats").Get<const Anope::string>("engine"));
}
SQL::Result RunQuery(const SQL::Query &query)