summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsychon <psychon@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-05 14:28:02 +0000
committerpsychon <psychon@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-05 14:28:02 +0000
commit403fe8fd978eca00f07aebd7c3d1771075563e14 (patch)
tree87f8e46efbd39e366e644843e89932b9a0149c20
parent51f6fd1cf70e06f04ae50795d41ce9703271462c (diff)
Remove the unused RESOLVER_NOTREADY define and fix the spelling of RESLOVER_FORCEUNLOAD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11286 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/dns.h7
-rw-r--r--src/dns.cpp2
2 files changed, 4 insertions, 5 deletions
diff --git a/include/dns.h b/include/dns.h
index 95be2deae..e9c5fe924 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -117,10 +117,9 @@ enum ResolverError
RESOLVER_NOERROR = 0,
RESOLVER_NSDOWN = 1,
RESOLVER_NXDOMAIN = 2,
- RESOLVER_NOTREADY = 3,
- RESOLVER_BADIP = 4,
- RESOLVER_TIMEOUT = 5,
- RESLOVER_FORCEUNLOAD = 6
+ RESOLVER_BADIP = 3,
+ RESOLVER_TIMEOUT = 4,
+ RESOLVER_FORCEUNLOAD = 5
};
/**
diff --git a/src/dns.cpp b/src/dns.cpp
index 2b312777e..50fdee34b 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -1148,7 +1148,7 @@ void DNS::CleanResolvers(Module* module)
{
if (Classes[i]->GetCreator() == module)
{
- Classes[i]->OnError(RESLOVER_FORCEUNLOAD, "Parent module is unloading");
+ Classes[i]->OnError(RESOLVER_FORCEUNLOAD, "Parent module is unloading");
delete Classes[i];
Classes[i] = NULL;
}