]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_testcommand.cpp
To be more specific, specify rpath() macro here
[user/henk/code/inspircd.git] / src / modules / m_testcommand.cpp
index 761196978b176c45ffe4379a41fb02daa2888087..a3ae7aedf825363cdc153fcf8a87a52ed074777d 100644 (file)
@@ -31,9 +31,9 @@ class MyV6Resolver : public Resolver
                fw = forward;
        }
 
-       virtual void OnLookupComplete(const std::string &result, unsigned int ttl)
+       virtual void OnLookupComplete(const std::string &result, unsigned int ttl, bool cached)
        {
-               ServerInstance->Log(DEBUG,"*** RESOLVER COMPLETED %s LOOKUP, IP IS: '%s' TTL=%lu",fw ? "FORWARD" : "REVERSE", result.c_str(), ttl);
+               ServerInstance->Log(DEBUG,"*** RESOLVER COMPLETED %s LOOKUP, IP IS: '%s' TTL=%lu CACHED=%d",fw ? "FORWARD" : "REVERSE", result.c_str(), ttl, cached);
        }
 
        virtual void OnError(ResolverError e, const std::string &errormessage)