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
This commit is contained in:
psychon 2009-04-05 14:28:02 +00:00
parent 51f6fd1cf7
commit 403fe8fd97
2 changed files with 4 additions and 5 deletions

View File

@ -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
};
/**

View File

@ -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;
}