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:
+1
-2
@@ -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
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user