summaryrefslogtreecommitdiff
path: root/modules/extra/m_chanstats.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-05 21:05:43 -0400
committerAdam <Adam@anope.org>2013-05-05 21:05:43 -0400
commit5b3f81ea78f7a8ab69ff94cbf2bbf07f5966682e (patch)
tree3536557fea79ffd77bb5a885465e579eeeafb8ff /modules/extra/m_chanstats.cpp
parent3e8752fe665c3cdf683f2b5fa271231fb3a624df (diff)
That doesn't work either, just don't use references.
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
Diffstat (limited to 'modules/extra/m_chanstats.cpp')
-rw-r--r--modules/extra/m_chanstats.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/extra/m_chanstats.cpp b/modules/extra/m_chanstats.cpp
index f5e20646b..65e71a5c0 100644
--- a/modules/extra/m_chanstats.cpp
+++ b/modules/extra/m_chanstats.cpp
@@ -352,12 +352,12 @@ class MChanstats : public Module
void OnReload(Configuration::Conf *conf) anope_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<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");
- Anope::string engine = block->Get<const Anope::string &>("engine");
+ Anope::string engine = block->Get<const Anope::string>("engine");
this->sql = ServiceReference<SQL::Provider>("SQL::Provider", engine);
if (sql)
this->CheckTables();