aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-16 14:31:53 +0000
committerGravatar Sadie Powell2022-01-16 15:05:00 +0000
commit5881e6f6a37f70f5775db093233147e72b148e4d (patch)
tree59ca4d7479eb1bf320ae7e1a8c06e2cd6c474f50 /src/modules.cpp
parentSwitch isupport to use a module-local map instead of an extensible. (diff)
downloadinspircd++-5881e6f6a37f70f5775db093233147e72b148e4d.tar.gz
inspircd++-5881e6f6a37f70f5775db093233147e72b148e4d.tar.bz2
inspircd++-5881e6f6a37f70f5775db093233147e72b148e4d.zip
Revert "Allow setting extension data on connect classes".
This can't reasonably be implemented safely with the current way that extensibles work. This reverts commit b867007d201b1a3b130186c54e41481c0374a7f6.
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index dae620ac0..b87145092 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -429,12 +429,6 @@ void ModuleManager::DoSafeUnload(Module* mod)
user->UnhookExtensions(items);
}
- for (const auto& klass : ServerInstance->Config->Classes)
- {
- mod->OnCleanup(ExtensionType::CONNECT_CLASS, klass.get());
- klass->UnhookExtensions(items);
- }
-
for (DataProviderMap::iterator i = DataProviders.begin(); i != DataProviders.end(); )
{
DataProviderMap::iterator curr = i++;