diff options
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index ddcddda6a..59f8dd4e0 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -305,7 +305,7 @@ ModeAction ModeParser::TryMode(User* user, User* targetuser, Channel* chan, Mode } // Ask mode watchers whether this mode change is OK - for (const auto& [_, mw] : stdalgo::equal_range(modewatchermap, mh->name)) + for (const auto& [_, mw] : insp::equal_range(modewatchermap, mh->name)) { if (mw->GetModeType() == type) { @@ -343,7 +343,7 @@ ModeAction ModeParser::TryMode(User* user, User* targetuser, Channel* chan, Mode if (ma != MODEACTION_ALLOW) return ma; - for (const auto& [_, mw] : stdalgo::equal_range(modewatchermap, mh->name)) + for (const auto& [_, mw] : insp::equal_range(modewatchermap, mh->name)) { if (mw->GetModeType() == type) mw->AfterMode(user, targetuser, chan, parameter, adding); @@ -509,7 +509,7 @@ void ModeParser::ShowListModeList(User* user, Channel* chan, ModeHandler* mh) bool display = true; // Ask mode watchers whether it's OK to show the list - for (const auto& [_, mw] : stdalgo::equal_range(modewatchermap, mh->name)) + for (const auto& [_, mw] : insp::equal_range(modewatchermap, mh->name)) { if (mw->GetModeType() == MODETYPE_CHANNEL) { |
