diff options
author | Adam <Adam@anope.org> | 2016-11-03 23:15:07 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-11-03 23:15:07 -0400 |
commit | ef32505633ad40bd3937edfa739f6b13ecdda599 (patch) | |
tree | 5535f8138c6d77a2a9f70ae7a060e56f6e78b4ec /modules/commands/os_dns.cpp | |
parent | 304494322fa515f1d6dc294e333329ca4731bd29 (diff) |
dns: set error to REFUSED when there are no answers
Diffstat (limited to 'modules/commands/os_dns.cpp')
-rw-r--r-- | modules/commands/os_dns.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp index 687f44f4a..b3062fa3d 100644 --- a/modules/commands/os_dns.cpp +++ b/modules/commands/os_dns.cpp @@ -940,7 +940,6 @@ class ModuleDNS : public Module if (packet->answers.size() == answer_size) { Log(this) << "Error! There are no servers with any IPs of type " << q.type; - /* Send back an empty answer anyway */ } } } |