aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-17 12:06:26 +0100
committerGravatar Sadie Powell2022-05-17 12:06:26 +0100
commitbc2098a492c9175717a92ee63a73a7436ba54d0f (patch)
tree88015df501281bf61187cd913f2a627679118f36 /src/modules
parentFix not ticking the log timers after the first tick. (diff)
Require specifying the repeat argument of the Timer class.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_httpd.cpp2
-rw-r--r--src/modules/m_spanningtree/pingtimer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index b6d919c05..5b34a0ada 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -207,7 +207,7 @@ private:
public:
HttpServerSocket(int newfd, const std::string& IP, ListenSocket* via, irc::sockets::sockaddrs* client, irc::sockets::sockaddrs* server, unsigned long timeoutsec)
: BufferedSocket(newfd)
- , Timer(timeoutsec)
+ , Timer(timeoutsec, false)
, ip(IP)
{
if ((!via->iohookprovs.empty()) && (via->iohookprovs.back()))
diff --git a/src/modules/m_spanningtree/pingtimer.cpp b/src/modules/m_spanningtree/pingtimer.cpp
index d87b39672..d42295eb7 100644
--- a/src/modules/m_spanningtree/pingtimer.cpp
+++ b/src/modules/m_spanningtree/pingtimer.cpp
@@ -25,7 +25,7 @@
#include "commandbuilder.h"
PingTimer::PingTimer(TreeServer* ts)
- : Timer(Utils->PingFreq)
+ : Timer(Utils->PingFreq, false)
, server(ts)
, state(PS_SENDPING)
{