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/m_httpd.cpp | |
| 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/m_httpd.cpp')
| -rw-r--r-- | modules/extra/m_httpd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_httpd.cpp b/modules/extra/m_httpd.cpp index e802ed055..357e9fba9 100644 --- a/modules/extra/m_httpd.cpp +++ b/modules/extra/m_httpd.cpp @@ -257,7 +257,7 @@ class MyHTTPProvider : public HTTPProvider, public CallBack std::list<dynamic_reference<MyHTTPClient> > clients; public: - MyHTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p, const int t) : 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), CallBack(c, 10, Anope::CurTime, true), timeout(t) { } void Tick(time_t) anope_override { |
