diff options
Diffstat (limited to 'modules/extra')
| -rw-r--r-- | modules/extra/stats/cs_fantasy_stats.cpp | 4 | ||||
| -rw-r--r-- | modules/extra/stats/cs_fantasy_top.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/extra/stats/cs_fantasy_stats.cpp b/modules/extra/stats/cs_fantasy_stats.cpp index 118a7e496..78dce14f1 100644 --- a/modules/extra/stats/cs_fantasy_stats.cpp +++ b/modules/extra/stats/cs_fantasy_stats.cpp @@ -75,8 +75,8 @@ class CSStats : public Module void OnReload(Configuration::Conf *conf) override { - prefix = conf->GetModule("m_chanstats")->Get<Anope::string>("prefix", "anope_"); - this->sql = ServiceReference<SQL::Provider>("SQL::Provider", conf->GetModule("m_chanstats")->Get<Anope::string>("engine")); + prefix = conf->GetModule("chanstats")->Get<Anope::string>("prefix", "anope_"); + this->sql = ServiceReference<SQL::Provider>("SQL::Provider", conf->GetModule("chanstats")->Get<Anope::string>("engine")); } SQL::Result RunQuery(const SQL::Query &query) diff --git a/modules/extra/stats/cs_fantasy_top.cpp b/modules/extra/stats/cs_fantasy_top.cpp index 82480ffc3..961b2f903 100644 --- a/modules/extra/stats/cs_fantasy_top.cpp +++ b/modules/extra/stats/cs_fantasy_top.cpp @@ -100,8 +100,8 @@ class CSTop : public Module void OnReload(Configuration::Conf *conf) override { - prefix = conf->GetModule("m_chanstats")->Get<Anope::string>("prefix", "anope_"); - this->sql = ServiceReference<SQL::Provider>("SQL::Provider", conf->GetModule("m_chanstats")->Get<Anope::string>("engine")); + prefix = conf->GetModule("chanstats")->Get<Anope::string>("prefix", "anope_"); + this->sql = ServiceReference<SQL::Provider>("SQL::Provider", conf->GetModule("chanstats")->Get<Anope::string>("engine")); } SQL::Result RunQuery(const SQL::Query &query) |
