1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 15:56:39 +02:00

Fix some modules that weren't converted to the new socket ctor.

Closes #330.
This commit is contained in:
Sadie Powell
2023-11-26 13:26:38 +00:00
parent 2b21264fb0
commit 2d2d1972e9
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ class MyHTTPProvider : public HTTPProvider, public Timer
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), 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, Anope::CurTime, true), timeout(t) { }
void Tick(time_t) override
{