diff options
author | Adam <Adam@anope.org> | 2016-10-09 22:06:59 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-10-09 22:06:59 -0400 |
commit | ab749ce2a871c524c2f187635913998bbcd41a1d (patch) | |
tree | b9c05ffc0741834cc425866d0d63b31b7d8eaf1a /modules/extra | |
parent | 83b8e655306fd88fa130aea84f91d017edbedc24 (diff) |
Various other modname fixes
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) |