From ab749ce2a871c524c2f187635913998bbcd41a1d Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 9 Oct 2016 22:06:59 -0400 Subject: Various other modname fixes --- modules/extra/stats/cs_fantasy_stats.cpp | 4 ++-- modules/extra/stats/cs_fantasy_top.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/extra') 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("prefix", "anope_"); - this->sql = ServiceReference("SQL::Provider", conf->GetModule("m_chanstats")->Get("engine")); + prefix = conf->GetModule("chanstats")->Get("prefix", "anope_"); + this->sql = ServiceReference("SQL::Provider", conf->GetModule("chanstats")->Get("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("prefix", "anope_"); - this->sql = ServiceReference("SQL::Provider", conf->GetModule("m_chanstats")->Get("engine")); + prefix = conf->GetModule("chanstats")->Get("prefix", "anope_"); + this->sql = ServiceReference("SQL::Provider", conf->GetModule("chanstats")->Get("engine")); } SQL::Result RunQuery(const SQL::Query &query) -- cgit