aboutsummaryrefslogtreecommitdiff
path: root/modules/showfile.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/showfile.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/showfile.cpp')
-rw-r--r--modules/showfile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/showfile.cpp b/modules/showfile.cpp
index 154eada96..3418ff7be 100644
--- a/modules/showfile.cpp
+++ b/modules/showfile.cpp
@@ -21,6 +21,7 @@
#include "inspircd.h"
#include "clientprotocolmsg.h"
#include "stringutils.h"
+#include "utility/container.h"
enum
{
@@ -143,7 +144,7 @@ private:
// This is our command, make sure we don't have the same entry twice
sfcmd = static_cast<CommandShowFile*>(handler);
- if (stdalgo::isin(newcmds, sfcmd))
+ if (insp::contains(newcmds, sfcmd))
throw ModuleException(weak_from_this(), "Command " + cmdname + " is already used in a <showfile> tag");
}
else