summaryrefslogtreecommitdiff
path: root/modules/httpd.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/httpd.cpp
parent5337326cc976612657677c41d7a1d7bb1e671968 (diff)
Remove the now parameter from the Timer class.
This was never actually changed from the default.
Diffstat (limited to 'modules/httpd.cpp')
-rw-r--r--modules/httpd.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/httpd.cpp b/modules/httpd.cpp
index c80507621..f561283d7 100644
--- a/modules/httpd.cpp
+++ b/modules/httpd.cpp
@@ -292,7 +292,13 @@ class MyHTTPProvider final
std::list<Reference<MyHTTPClient> > clients;
public:
- MyHTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p, const int t, bool s) : Socket(-1, i.find(':') == Anope::string::npos ? AF_INET : AF_INET6), HTTPProvider(c, n, i, p, s), Timer(c, 10, Anope::CurTime, true), timeout(t) { }
+ MyHTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p, const int t, bool s)
+ : Socket(-1, i.find(':') == Anope::string::npos ? AF_INET : AF_INET6)
+ , HTTPProvider(c, n, i, p, s)
+ , Timer(c, 10, true)
+ , timeout(t)
+ {
+ }
void Tick(time_t) override
{