diff options
| author | 2020-06-21 04:25:45 +0100 | |
|---|---|---|
| committer | 2021-05-08 15:31:50 +0100 | |
| commit | 0c750c060839f9018ca129bd7456184792ea0dc0 (patch) | |
| tree | 43aa8d0a593afa292e2922d2481b2349e0dc8dfd /src/modules.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Move channel logic from InspIRCd to the new ChannelManager class.
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index bc2970a7d..d66d2e8ae 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -391,8 +391,8 @@ void ModuleManager::DoSafeUnload(Module* mod) 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(); - for (chan_hash::const_iterator c = chans.begin(); c != chans.end(); ) + const ChannelMap& chans = ServerInstance->Channels.GetChans(); + for (ChannelMap::const_iterator c = chans.begin(); c != chans.end(); ) { Channel* chan = c->second; ++c; |
