diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-11 17:53:32 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-11 17:56:35 +0000 |
commit | 30b9f127113cc715cf90f87a298572b8a73b6788 (patch) | |
tree | 9c3ceafda20a3d370425f38086e8b3fc7e7698b7 /modules/chanserv/chanserv.cpp | |
parent | 5337326cc976612657677c41d7a1d7bb1e671968 (diff) |
Remove the now parameter from the Timer class.
This was never actually changed from the default.
Diffstat (limited to 'modules/chanserv/chanserv.cpp')
-rw-r--r-- | modules/chanserv/chanserv.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/chanserv/chanserv.cpp b/modules/chanserv/chanserv.cpp index c47f2d77f..783c47261 100644 --- a/modules/chanserv/chanserv.cpp +++ b/modules/chanserv/chanserv.cpp @@ -51,7 +51,11 @@ public: /** Constructor * @param chan The channel */ - ChanServTimer(Reference<BotInfo> &cs, ExtensibleItem<bool> &i, Module *m, Channel *chan) : Timer(m, Config->GetModule(m)->Get<time_t>("inhabit", "15s")), ChanServ(cs), inhabit(i), c(chan) + ChanServTimer(Reference<BotInfo> &cs, ExtensibleItem<bool> &i, Module *m, Channel *chan) + : Timer(m, Config->GetModule(m)->Get<time_t>("inhabit", "15s")) + , ChanServ(cs) + , inhabit(i) + , c(chan) { if (!ChanServ || !c) return; |