summaryrefslogtreecommitdiff
path: root/src/modules/m_testcommand.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-09 19:25:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-09 19:25:31 +0000
commit48262da087538c38b91bf3a1a51ffaa5e61e502f (patch)
tree2f2fe843c29362f47bf2b4f1d1ac34564176fbf3 /src/modules/m_testcommand.cpp
parent9bc04a302572eb311a147a32ff1d36f1d91f2d7a (diff)
Change some resolver stuff.
OM, THIS STILL WONT COMPILE! Error on the same line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4821 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_testcommand.cpp')
-rw-r--r--src/modules/m_testcommand.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index 9b3509f8d..8daabe889 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -26,11 +26,13 @@ using namespace std;
/* $ModDesc: Povides a proof-of-concept test /WOOT command */
+extern InspIRCd* ServerInstance;
+
class MyV6Resolver : public Resolver
{
bool fw;
public:
- MyV6Resolver(const std::string &source, bool forward) : Resolver(source, forward ? DNS_QUERY_AAAA : DNS_QUERY_PTR6)
+ MyV6Resolver(const std::string &source, bool forward) : Resolver(ServerInstance, source, forward ? DNS_QUERY_AAAA : DNS_QUERY_PTR6)
{
fw = forward;
}