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:
@@ -275,6 +275,7 @@ void ModuleManager::DeleteModule(Module *m)
|
||||
return;
|
||||
}
|
||||
|
||||
DetachAll(m);
|
||||
handle = m->handle;
|
||||
|
||||
ano_modclearerr();
|
||||
|
||||
Reference in New Issue
Block a user