summaryrefslogtreecommitdiff
path: root/modules/extra/m_proxyscan.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-24 19:32:26 -0400
committerAdam <Adam@anope.org>2012-10-24 19:32:26 -0400
commit1057fa842144e84563ddd887beaeaebe8c4f8a47 (patch)
treec43d1706df45866d5c13fcfb8333d3ee62bbdfd0 /modules/extra/m_proxyscan.cpp
parentfca9ec085e74efa005dd981f2af2a6d6fd78ce89 (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_proxyscan.cpp')
-rw-r--r--modules/extra/m_proxyscan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_proxyscan.cpp b/modules/extra/m_proxyscan.cpp
index e6ee4008a..00519c57f 100644
--- a/modules/extra/m_proxyscan.cpp
+++ b/modules/extra/m_proxyscan.cpp
@@ -41,7 +41,7 @@ class ProxyCallbackListener : public ListenSocket
};
public:
- ProxyCallbackListener(const Anope::string &b, int p) : ListenSocket(b, p, false)
+ ProxyCallbackListener(const Anope::string &b, int p) : Socket(-1, b.find(':') != Anope::string::npos), ListenSocket(b, p, false)
{
}