aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 2cc0791da..47a0b82e0 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -31,6 +31,7 @@
#include "inspircd.h"
#include "clientprotocolevent.h"
#include "modules/hash.h"
+#include "utility/container.h"
#include "utility/string.h"
#include "xline.h"
@@ -309,7 +310,7 @@ void User::OperLogout()
SetMode(opermh, false);
}
- stdalgo::vector::swaperase(ServerInstance->Users.all_opers, this);
+ insp::swap_erase(ServerInstance->Users.all_opers, this);
FOREACH_MOD(OnPostOperLogout, (this, account));
}