1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 05:06:37 +02:00

Detach all module hooks when a module is unloaded, patch from DukePyrolator, thanks for spotting this!

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2225 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-03-30 18:27:01 +00:00
parent ba8f609eb0
commit fdfc12f398
+1
View File
@@ -275,6 +275,7 @@ void ModuleManager::DeleteModule(Module *m)
return;
}
DetachAll(m);
handle = m->handle;
ano_modclearerr();