diff options
Diffstat (limited to 'modules/chanstats.cpp')
-rw-r--r-- | modules/chanstats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanstats.cpp b/modules/chanstats.cpp index 65678dcab..97a03b013 100644 --- a/modules/chanstats.cpp +++ b/modules/chanstats.cpp @@ -499,7 +499,7 @@ public: void OnReload(Configuration::Conf &conf) override { - Configuration::Block &block = conf.GetModule(this); + const auto &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"); |