]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules/dns.h
Update copyright headers.
[user/henk/code/inspircd.git] / include / modules / dns.h
index f3bf45916d55979d289025ddcd47b083a4a914a1..8ac90f7deb12a24cab248ba710101039416b1588 100644 (file)
@@ -1,8 +1,9 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2013 Adam <Adam@anope.org>
- *   Copyright (C) 2003-2013 Anope Team <team@anope.org>
+ *   Copyright (C) 2017, 2019 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2014-2015 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2013, 2015-2016 Adam <Adam@anope.org>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
  * redistribute it and/or modify it under the terms of the GNU General Public
@@ -146,6 +147,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 +193,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;