From 711e33b9f8461df55c2fa8e5351769c6e6eb3e0f Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 16 Dec 2014 16:42:35 +0100 Subject: Change listmode storage type to vector --- src/listmode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/listmode.cpp b/src/listmode.cpp index 19f2d6061..4e2b95e7d 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -192,7 +192,7 @@ ModeAction ListModeBase::OnModeChange(User* source, User*, Channel* channel, std { if (parameter == it->mask) { - cd->list.erase(it); + stdalgo::vector::swaperase(cd->list, it); return MODEACTION_ALLOW; } } -- cgit v1.2.3