summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-14 19:31:22 -0400
committerAdam <Adam@anope.org>2010-09-14 19:31:22 -0400
commit6239b5a053fc8fd94b798495f8e189a2e2bda285 (patch)
treedcebc7977510969cbbcafafd98010c531256f0d2 /include
parente7ac33fd622ae6e21bc9af684832b7de5cfa0c0c (diff)
Give DNS requests an error when their creator is being unloaded instead of just deleting them, and fixed a compile warning
Diffstat (limited to 'include')
-rw-r--r--include/dns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h
index 97cb0a677..51960b0f4 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -34,6 +34,7 @@ enum QueryFlags
enum DNSError
{
DNS_ERROR_UNKNOWN,
+ DNS_ERROR_UNLOADED,
DNS_ERROR_TIMEOUT,
DNS_ERROR_NOT_AN_ANSWER,
DNS_ERROR_NONSTANDARD_QUERY,