diff options
| author | 2026-04-04 12:10:50 +0100 | |
|---|---|---|
| committer | 2026-04-04 12:32:00 +0100 | |
| commit | ef7c6fe9e2bfb22de66808e56a5f5bd602c3086f (patch) | |
| tree | 96f67982d63c354a33295997c828fb79462120e6 /src/listmode.cpp | |
| parent | Rename utility/map to container and prefix the difference method. (diff) | |
Remove the remaining bits of stdalgo to utility/container.
Diffstat (limited to 'src/listmode.cpp')
| -rw-r--r-- | src/listmode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp index dbbffc2f3..4d5de7d95 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -22,6 +22,7 @@ #include "inspircd.h" #include "listmode.h" +#include "utility/container.h" ListModeBase::ListModeBase(const WeakModulePtr& Creator, const std::string& Name, char modechar, unsigned int lnum, unsigned int eolnum, bool am) : ModeHandler(Creator, Name, modechar, PARAM_ALWAYS, MODETYPE_CHANNEL, MC_LIST) @@ -214,7 +215,7 @@ bool ListModeBase::OnModeChange(User* source, User*, Channel* channel, Modes::Ch continue; // Doesn't match the proposed removal. change.param = it->mask; - stdalgo::vector::swaperase(cd->list, it); + insp::swap_erase(cd->list, it); return true; } } |
