summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
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.