diff options
author | Adam <Adam@anope.org> | 2013-11-21 18:06:38 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-11-21 18:06:38 -0500 |
commit | e1264a5913a8e5869350521913f9e36841ae4cee (patch) | |
tree | 628f159f441c0b160eee1c7f2f46c6f0aea26838 /modules/protocol/plexus.cpp | |
parent | 18f423226cdac8039b0077e1fc63c0719160544f (diff) |
Re-find dependant protocol modules on unload, they can be reloaded from under us while we are running
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r-- | modules/protocol/plexus.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 57a2f4669..f3da6f058 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -415,6 +415,7 @@ class ProtoPlexus : public Module ~ProtoPlexus() { + m_hybrid = ModuleManager::FindModule("hybrid"); ModuleManager::UnloadModule(m_hybrid, NULL); } }; |