diff options
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index eb00f4fec..cdfc4b8d0 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -662,8 +662,8 @@ bool ModeParser::DelMode(ModeHandler* mh) break; case MODETYPE_CHANNEL: { - const chan_hash& chans = ServerInstance->GetChans(); - for (chan_hash::const_iterator i = chans.begin(); i != chans.end(); ) + const ChannelMap& chans = ServerInstance->Channels.GetChans(); + for (ChannelMap::const_iterator i = chans.begin(); i != chans.end(); ) { // The channel may not be in the hash after RemoveMode(), see m_permchannels Channel* chan = i->second; |
