diff options
| author | Adam <Adam@anope.org> | 2013-05-05 01:57:24 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-05-05 01:57:24 -0400 |
| commit | 2044b4d3ad9dbdfd5c6c6573261a7c4bfd9e2878 (patch) | |
| tree | 8693321490f29c3ba588bb0778a9f28b4cc292b2 /include | |
| parent | 1d0bb9b26b7ad58ab0bf979ac046f4511b3bf12b (diff) | |
Cleanup of dns stuff based on stuff found making inspircd's module
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. |
