diff options
| author | Adam <Adam@anope.org> | 2012-10-24 19:32:26 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-10-24 19:32:26 -0400 |
| commit | 1057fa842144e84563ddd887beaeaebe8c4f8a47 (patch) | |
| tree | c43d1706df45866d5c13fcfb8333d3ee62bbdfd0 /modules/extra/httpd.h | |
| parent | fca9ec085e74efa005dd981f2af2a6d6fd78ce89 (diff) | |
BIND's forward ability did not work as I expected
because it will not forward non recursive queries.
So, added support for SOA, NS, and AXFR requests.
Diffstat (limited to 'modules/extra/httpd.h')
| -rw-r--r-- | modules/extra/httpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/httpd.h b/modules/extra/httpd.h index d9e800d13..490bf72bb 100644 --- a/modules/extra/httpd.h +++ b/modules/extra/httpd.h @@ -142,7 +142,7 @@ class HTTPClient : public ClientSocket, public BufferedSocket, public BinarySock virtual void SendReply(HTTPReply *) = 0; }; -class HTTPProvider : public Service, public ListenSocket +class HTTPProvider : public ListenSocket, public Service { Anope::string ip; unsigned short port; @@ -150,7 +150,7 @@ class HTTPProvider : public Service, public ListenSocket Anope::string ext_ip; std::vector<Anope::string> ext_headers; - HTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p) : Service(c, "HTTPProvider", n), ListenSocket(i, p, i.find(':') != Anope::string::npos), ip(i), port(p) { } + HTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p) : ListenSocket(i, p, i.find(':') != Anope::string::npos), Service(c, "HTTPProvider", n) { } const Anope::string &GetIP() const { |
