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:
@@ -415,6 +415,7 @@ class ProtoPlexus : public Module
|
||||
|
||||
~ProtoPlexus()
|
||||
{
|
||||
m_hybrid = ModuleManager::FindModule("hybrid");
|
||||
ModuleManager::UnloadModule(m_hybrid, NULL);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user