mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
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:
parent
51f6fd1cf7
commit
403fe8fd97
@ -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
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user