From 403fe8fd978eca00f07aebd7c3d1771075563e14 Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 5 Apr 2009 14:28:02 +0000 Subject: 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 --- include/dns.h | 7 +++---- src/dns.cpp | 2 +- 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; } -- cgit v1.2.3