diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-02-11 18:10:38 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-02-11 18:10:38 +0000 |
| commit | cef56abea4cf302d20ba7ab33719e86276b672ea (patch) | |
| tree | db27b33f819f2d3548e7bc43e4a036c7803f8de5 /modules | |
| parent | 30b9f127113cc715cf90f87a298572b8a73b6788 (diff) | |
Consistently use time_t for the timer duration.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/nickserv/nickserv.cpp | 2 | ||||
| -rw-r--r-- | modules/proxyscan.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/nickserv/nickserv.cpp b/modules/nickserv/nickserv.cpp index 08fd286a0..75ed0e8d3 100644 --- a/modules/nickserv/nickserv.cpp +++ b/modules/nickserv/nickserv.cpp @@ -70,7 +70,7 @@ class NickServHeld final Reference<NickAlias> na; Anope::string nick; public: - NickServHeld(Module *me, NickAlias *n, long l) + NickServHeld(Module *me, NickAlias *n, time_t l) : Timer(me, l) , na(n) , nick(na->nick) diff --git a/modules/proxyscan.cpp b/modules/proxyscan.cpp index 4634b9f95..601987bcd 100644 --- a/modules/proxyscan.cpp +++ b/modules/proxyscan.cpp @@ -211,7 +211,7 @@ class ModuleProxyScan final : public Timer { public: - ConnectionTimeout(Module *c, long timeout) + ConnectionTimeout(Module *c, time_t timeout) : Timer(c, timeout, true) { } |
