diff options
| author | 2021-04-08 23:58:23 +0100 | |
|---|---|---|
| committer | 2021-04-09 00:16:02 +0100 | |
| commit | 5dc87c938ab756aebda2d4e1fdd75136e5103f07 (patch) | |
| tree | b1d44b61d7469a97ada67c9b8542dee05629abd1 /src/modules.cpp | |
| parent | Fix a dangling view in dccallow. (diff) | |
Remove usecountbase from ExtensionItem and refer to using pointers.
At one point (1.2?) this was actually useful but nowadays its not.
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 8315a7cce..54b3c2c66 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -389,7 +389,7 @@ void ModuleManager::DoSafeUnload(Module* mod) UnregisterModes(mod, MODETYPE_USER); UnregisterModes(mod, MODETYPE_CHANNEL); - std::vector<reference<ExtensionItem> > items; + std::vector<ExtensionItem*> items; ServerInstance->Extensions.BeginUnregister(modfind->second, items); /* Give the module a chance to tidy out all its metadata */ const chan_hash& chans = ServerInstance->GetChans(); |
