]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules/dns.h
Use FindUUID in place of FindNick in places that only get a UUID.
[user/henk/code/inspircd.git] / include / modules / dns.h
index f3bf45916d55979d289025ddcd47b083a4a914a1..d371a62ea92c9abe858a13d6d52ab2f7b6a656f7 100644 (file)
@@ -146,6 +146,7 @@ namespace DNS
                virtual void Process(Request* req) = 0;
                virtual void RemoveRequest(Request* req) = 0;
                virtual std::string GetErrorStr(Error) = 0;
+               virtual std::string GetTypeStr(QueryType) = 0;
        };
 
        /** A DNS query.
@@ -191,7 +192,7 @@ namespace DNS
                /** Used to time out the query, calls OnError and asks the TimerManager
                 * to delete this request
                 */
-               bool Tick(time_t now)
+               bool Tick(time_t now) CXX11_OVERRIDE
                {
                        Query rr(this->question);
                        rr.error = ERROR_TIMEDOUT;