1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Remove the now parameter from the Timer class.

This was never actually changed from the default.
This commit is contained in:
Sadie Powell
2024-02-11 17:53:32 +00:00
parent 5337326cc9
commit 30b9f12711
15 changed files with 89 additions and 44 deletions
+7 -1
View File
@@ -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
{