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/charybdis.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/charybdis.cpp')
-rw-r--r-- | modules/protocol/charybdis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/protocol/charybdis.cpp b/modules/protocol/charybdis.cpp index e6584f90c..e007ea275 100644 --- a/modules/protocol/charybdis.cpp +++ b/modules/protocol/charybdis.cpp @@ -419,6 +419,7 @@ class ProtoCharybdis : public Module ~ProtoCharybdis() { + m_ratbox = ModuleManager::FindModule("ratbox"); ModuleManager::UnloadModule(m_ratbox, NULL); } |