diff options
author | Sadie Powell <sadie@witchery.services> | 2025-05-03 17:07:07 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-05-03 21:28:56 +0100 |
commit | 010beb52b1f3c697a07f9a130d2ed9335fe1cd98 (patch) | |
tree | 734750a5677afff443f2117dc34ba14d3351fb28 /modules/chanstats.cpp | |
parent | c95594141346ef6fb65a5af177bed35ed865234d (diff) |
Store the setter and ts for all modes and try to restore them.
This is mostly for preserving channel list mode info.
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 97a03b013..2f48c8abf 100644 --- a/modules/chanstats.cpp +++ b/modules/chanstats.cpp @@ -540,7 +540,7 @@ public: this->RunQuery(query); } - EventReturn OnChannelModeSet(Channel *c, MessageSource &setter, ChannelMode *mode, const Anope::string ¶m) override + EventReturn OnChannelModeSet(Channel *c, MessageSource &setter, ChannelMode *mode, const ModeData &data) override { this->OnModeChange(c, setter.GetUser()); return EVENT_CONTINUE; |