aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-11-10 20:13:59 +0000
committerGravatar brain2006-11-10 20:13:59 +0000
commit25493049050dadfa08527c813f4209a09beab6a7 (patch)
tree65f803c34106dccef63cadbbd8a0f60fdc9fd4f5 /src/inspircd.cpp
parentImplement a change for bug #171. It might not be pretty in the /list output, ... (diff)
Add fix for patch #166 (this is a reasonably big one)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5679 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 1b636bc87..9521f1b22 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -508,6 +508,9 @@ bool InspIRCd::UnloadModule(const char* filename)
modules[j]->OnCleanup(TYPE_USER,u->second);
}
+ /* Tidy up any dangling resolvers */
+ this->Res->CleanResolvers(modules[j]);
+
FOREACH_MOD_I(this,I_OnUnloadModule,OnUnloadModule(modules[j],Config->module_names[j]));
for(int t = 0; t < 255; t++)