diff options
| author | Adam <Adam@anope.org> | 2014-12-10 02:09:51 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2014-12-10 02:09:51 -0500 |
| commit | 50acad5ce451b44b469890fe46ce14c7ffd031ca (patch) | |
| tree | 231101b9e475dacd58b4d03d1a69df9fe7a82f28 /modules/extra/stats/cs_fantasy_stats.cpp | |
| parent | 3e5a5e1c669f6027b897f7358d45f92e1552f746 (diff) | |
Unconst these config Get<Anope::string> calls as it makes no sense
Diffstat (limited to 'modules/extra/stats/cs_fantasy_stats.cpp')
| -rw-r--r-- | modules/extra/stats/cs_fantasy_stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/stats/cs_fantasy_stats.cpp b/modules/extra/stats/cs_fantasy_stats.cpp index a5ce54d33..118a7e496 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<const Anope::string>("prefix", "anope_"); - this->sql = ServiceReference<SQL::Provider>("SQL::Provider", conf->GetModule("m_chanstats")->Get<const Anope::string>("engine")); + 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")); } SQL::Result RunQuery(const SQL::Query &query) |
