diff options
Diffstat (limited to 'src/modules/m_testcommand.cpp')
-rw-r--r-- | src/modules/m_testcommand.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp index fb061a898..ebb09a19d 100644 --- a/src/modules/m_testcommand.cpp +++ b/src/modules/m_testcommand.cpp @@ -25,10 +25,10 @@ using namespace std; /* $ModDesc: Povides a proof-of-concept test /WOOT command */ -class MyResolver : public Resolver +class MyV6Resolver : public Resolver { public: - MyResolver(const std::string &source, bool forward) : Resolver(source, forward) { } + MyV6Resolver(const std::string &source) : Resolver(source, DNS_QUERY_AAAA) { } virtual void OnLookupComplete(const std::string &result) { @@ -58,7 +58,7 @@ class cmd_woot : public command_t try { - MyResolver* r = new MyResolver("brainbox.ath.cx", true); + MyV6Resolver* r = new MyV6Resolver("shake.stacken.kth.se"); Srv->AddResolver(r); } catch (ModuleException& e) |