1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 16:03:15 +02:00

Cleanup of dns stuff based on stuff found making inspircd's module

This commit is contained in:
Adam
2013-05-05 01:57:24 -04:00
parent 1d0bb9b26b
commit 2044b4d3ad
6 changed files with 57 additions and 63 deletions
+1 -2
View File
@@ -13,7 +13,6 @@
class AccessGroup;
class AutoKick;
namespace Anope { class String; }
class BotInfo;
class CallBack;
class ChanAccess;
@@ -26,7 +25,7 @@ class Command;
class CommandSource;
namespace Configuration { class Conf; }
class ConnectionSocket;
namespace DNS { class Packet; }
namespace DNS { class Query; }
class Entry;
class IdentifyRequest;
class InfoFormatter;
+1 -1
View File
@@ -958,7 +958,7 @@ class CoreExport Module : public Extensible
* @param req The dns request
* @param reply The reply that will be sent
*/
virtual void OnDnsRequest(DNS::Packet &req, DNS::Packet *reply) { }
virtual void OnDnsRequest(DNS::Query &req, DNS::Query *reply) { }
/** Called when a channels modes are being checked to see if they are allowed,
* mostly to ensure mlock/+r are set.