diff options
Diffstat (limited to 'modules/extra/m_httpd.cpp')
| -rw-r--r-- | modules/extra/m_httpd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/m_httpd.cpp b/modules/extra/m_httpd.cpp index d9855a226..f1e5392c5 100644 --- a/modules/extra/m_httpd.cpp +++ b/modules/extra/m_httpd.cpp @@ -279,14 +279,14 @@ class MyHTTPClient : public HTTPClient } }; -class MyHTTPProvider : public HTTPProvider, public CallBack +class MyHTTPProvider : public HTTPProvider, public Timer { int timeout; std::map<Anope::string, HTTPPage *> pages; std::list<Reference<MyHTTPClient> > clients; public: - MyHTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p, const int t) : Socket(-1, i.find(':') != Anope::string::npos), HTTPProvider(c, n, i, p), CallBack(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) : Socket(-1, i.find(':') != Anope::string::npos), HTTPProvider(c, n, i, p), Timer(c, 10, Anope::CurTime, true), timeout(t) { } void Tick(time_t) anope_override { |
