aboutsummaryrefslogtreecommitdiff
path: root/modules/ircv3_batch.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-04-04 12:10:50 +0100
committerGravatar Sadie Powell2026-04-04 12:32:00 +0100
commitef7c6fe9e2bfb22de66808e56a5f5bd602c3086f (patch)
tree96f67982d63c354a33295997c828fb79462120e6 /modules/ircv3_batch.cpp
parentRename utility/map to container and prefix the difference method. (diff)
Remove the remaining bits of stdalgo to utility/container.
Diffstat (limited to 'modules/ircv3_batch.cpp')
-rw-r--r--modules/ircv3_batch.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ircv3_batch.cpp b/modules/ircv3_batch.cpp
index 940109eef..35d32a04e 100644
--- a/modules/ircv3_batch.cpp
+++ b/modules/ircv3_batch.cpp
@@ -22,6 +22,7 @@
#include "inspircd.h"
#include "modules/cap.h"
#include "modules/ircv3_batch.h"
+#include "utility/container.h"
class BatchMessage final
: public ClientProtocol::Message
@@ -131,7 +132,7 @@ public:
{
// Check the bit first to avoid list scan in case they're not on the list
if ((bits & batch->GetBit()) != 0)
- stdalgo::vector::swaperase(batch->batchinfo->users, user);
+ insp::swap_erase(batch->batchinfo->users, user);
}
}