From ef7c6fe9e2bfb22de66808e56a5f5bd602c3086f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 4 Apr 2026 12:10:50 +0100 Subject: Remove the remaining bits of stdalgo to utility/container. --- modules/showfile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/showfile.cpp') 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(handler); - if (stdalgo::isin(newcmds, sfcmd)) + if (insp::contains(newcmds, sfcmd)) throw ModuleException(weak_from_this(), "Command " + cmdname + " is already used in a tag"); } else -- cgit v1.3.1-10-gc9f91