1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 04:26:39 +02:00

Re-find dependant protocol modules on unload, they can be reloaded from under us while we are running

This commit is contained in:
Adam
2013-11-21 18:06:38 -05:00
parent 18f423226c
commit e1264a5913
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -415,6 +415,7 @@ class ProtoPlexus : public Module
~ProtoPlexus()
{
m_hybrid = ModuleManager::FindModule("hybrid");
ModuleManager::UnloadModule(m_hybrid, NULL);
}
};