diff options
| author | Sadie Powell <sadie@witchery.services> | 2022-01-03 16:50:06 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2022-01-03 19:02:44 +0000 |
| commit | a5f7aac2953e94e49b93e9195ae8d4dccba46f6d (patch) | |
| tree | 442645fb3bb3da945b39fe2adeb07e71348b8771 /modules/extra/stats/cs_fantasy_stats.cpp | |
| parent | d76d74719687bd2bce2af661208e77db365c1b2d (diff) | |
Replace anope_{final,override} with their C++11 equivalent.
Diffstat (limited to 'modules/extra/stats/cs_fantasy_stats.cpp')
| -rw-r--r-- | modules/extra/stats/cs_fantasy_stats.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/extra/stats/cs_fantasy_stats.cpp b/modules/extra/stats/cs_fantasy_stats.cpp index 4c6ad95ff..ba0d216cb 100644 --- a/modules/extra/stats/cs_fantasy_stats.cpp +++ b/modules/extra/stats/cs_fantasy_stats.cpp @@ -17,11 +17,11 @@ class MySQLInterface : public SQL::Interface public: MySQLInterface(Module *o) : SQL::Interface(o) { } - void OnResult(const SQL::Result &r) anope_override + void OnResult(const SQL::Result &r) override { } - void OnError(const SQL::Result &r) anope_override + void OnError(const SQL::Result &r) override { if (!r.GetQuery().query.empty()) Log(LOG_DEBUG) << "Chanstats: Error executing query " << r.finished_query << ": " << r.GetError(); @@ -73,7 +73,7 @@ class CSStats : public Module } - void OnReload(Configuration::Conf *conf) anope_override + 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")); |
