summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_ban.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-11 17:53:32 +0000
committerSadie Powell <sadie@witchery.services>2024-02-11 17:56:35 +0000
commit30b9f127113cc715cf90f87a298572b8a73b6788 (patch)
tree9c3ceafda20a3d370425f38086e8b3fc7e7698b7 /modules/chanserv/cs_ban.cpp
parent5337326cc976612657677c41d7a1d7bb1e671968 (diff)
Remove the now parameter from the Timer class.
This was never actually changed from the default.
Diffstat (limited to 'modules/chanserv/cs_ban.cpp')
-rw-r--r--modules/chanserv/cs_ban.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/chanserv/cs_ban.cpp b/modules/chanserv/cs_ban.cpp
index ff019e602..da54cd4f1 100644
--- a/modules/chanserv/cs_ban.cpp
+++ b/modules/chanserv/cs_ban.cpp
@@ -22,7 +22,13 @@ private:
Anope::string mode;
public:
- TempBan(time_t seconds, Channel *c, const Anope::string &banmask, const Anope::string &mod) : Timer(me, seconds), channel(c->name), mask(banmask), mode(mod) { }
+ TempBan(time_t seconds, Channel *c, const Anope::string &banmask, const Anope::string &mod)
+ : Timer(me, seconds)
+ , channel(c->name)
+ , mask(banmask)
+ , mode(mod)
+ {
+ }
void Tick(time_t ctime) override
{