diff options
| author | Sadie Powell <sadie@witchery.services> | 2022-01-03 19:17:02 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2022-01-04 00:39:05 +0000 |
| commit | eb81f22a5b1df18c9844893c55f57762148f2bd0 (patch) | |
| tree | fb178d90cac536562faeabd2a57f720d70cc0530 /modules/extra/stats | |
| parent | a31a7f5a6ce3f47716a9313d232c2a40955fd1e1 (diff) | |
Modernize CXXFLAGS on Unix and enable -Werror on CI.
Also clear up warnings that this exposed.
Diffstat (limited to 'modules/extra/stats')
| -rw-r--r-- | modules/extra/stats/m_chanstats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/stats/m_chanstats.cpp b/modules/extra/stats/m_chanstats.cpp index 772ac4ff3..92f361f64 100644 --- a/modules/extra/stats/m_chanstats.cpp +++ b/modules/extra/stats/m_chanstats.cpp @@ -639,13 +639,13 @@ class MChanstats : public Module this->RunQuery(query); } - void OnChanRegistered(ChannelInfo *ci) + void OnChanRegistered(ChannelInfo *ci) override { if (CSDefChanstats) ci->Extend<bool>("CS_STATS"); } - void OnNickRegister(User *user, NickAlias *na, const Anope::string &) + void OnNickRegister(User *user, NickAlias *na, const Anope::string &) override { if (NSDefChanstats) na->nc->Extend<bool>("NS_STATS"); |
