diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/defs.h | 3 | ||||
| -rw-r--r-- | include/modules.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/defs.h b/include/defs.h index 8e1f17898..9521c760a 100644 --- a/include/defs.h +++ b/include/defs.h @@ -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; diff --git a/include/modules.h b/include/modules.h index 5ff58751f..a55a5ff94 100644 --- a/include/modules.h +++ b/include/modules.h @@ -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. |
