summaryrefslogtreecommitdiff
path: root/modules/operserv
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/operserv
parent5337326cc976612657677c41d7a1d7bb1e671968 (diff)
Remove the now parameter from the Timer class.
This was never actually changed from the default.
Diffstat (limited to 'modules/operserv')
-rw-r--r--modules/operserv/os_defcon.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/operserv/os_defcon.cpp b/modules/operserv/os_defcon.cpp
index 5664f5ffb..3f5395d48 100644
--- a/modules/operserv/os_defcon.cpp
+++ b/modules/operserv/os_defcon.cpp
@@ -111,7 +111,9 @@ class DefConTimeout final
int level;
public:
- DefConTimeout(Module *mod, int newlevel) : Timer(mod, DConfig.timeout), level(newlevel)
+ DefConTimeout(Module *mod, int newlevel)
+ : Timer(mod, DConfig.timeout)
+ , level(newlevel)
{
timeout = this;
}