summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-22 17:02:01 -0400
committerAdam <Adam@anope.org>2012-10-22 17:02:01 -0400
commit04632bd381796dd90742bbc6ccd38905d4de25be (patch)
treef9b8cf382037a44f7dba45dd5d5f186f43428a0e /include/modules.h
parent0b9db15efc322336ddb08671ce68a3d45fb22520 (diff)
Cleanup of last few commits/warning fix
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 3827e9234..cdaf53fc0 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -919,8 +919,9 @@ class CoreExport Module : public Extensible
/** Called when a DNS request (question) is recieved.
* @param req The dns request
+ * @param reply The reply that will be sent
*/
- virtual void OnDnsRequest(DNSPacket &req) { }
+ virtual void OnDnsRequest(DNSPacket &req, DNSPacket *reply) { }
/** Called when a channels modes are being checked to see if they are allowed,
* mostly to ensure mlock/+r are set.