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/m_chanstats.cpp | |
| parent | 3e5a5e1c669f6027b897f7358d45f92e1552f746 (diff) | |
Unconst these config Get<Anope::string> calls as it makes no sense
Diffstat (limited to 'modules/extra/stats/m_chanstats.cpp')
| -rw-r--r-- | modules/extra/stats/m_chanstats.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/extra/stats/m_chanstats.cpp b/modules/extra/stats/m_chanstats.cpp index 1d299ce7a..331b1480b 100644 --- a/modules/extra/stats/m_chanstats.cpp +++ b/modules/extra/stats/m_chanstats.cpp @@ -487,13 +487,13 @@ class MChanstats : public Module void OnReload(Configuration::Conf *conf) override { Configuration::Block *block = conf->GetModule(this); - prefix = block->Get<const Anope::string>("prefix", "anope_"); - SmileysHappy = block->Get<const Anope::string>("SmileysHappy"); - SmileysSad = block->Get<const Anope::string>("SmileysSad"); - SmileysOther = block->Get<const Anope::string>("SmileysOther"); + prefix = block->Get<Anope::string>("prefix", "anope_"); + SmileysHappy = block->Get<Anope::string>("SmileysHappy"); + SmileysSad = block->Get<Anope::string>("SmileysSad"); + SmileysOther = block->Get<Anope::string>("SmileysOther"); NSDefChanstats = block->Get<bool>("ns_def_chanstats"); CSDefChanstats = block->Get<bool>("cs_def_chanstats"); - Anope::string engine = block->Get<const Anope::string>("engine"); + Anope::string engine = block->Get<Anope::string>("engine"); this->sql = ServiceReference<SQL::Provider>("SQL::Provider", engine); if (sql) this->CheckTables(); |
