aboutsummaryrefslogtreecommitdiff
path: root/src/modules.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 /src/modules.cpp
parentRename utility/map to container and prefix the difference method. (diff)
Remove the remaining bits of stdalgo to utility/container.
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index d86768f8d..f36b45f62 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -183,7 +183,7 @@ void Module::OnPostChangeConnectClass(LocalUser*, const std::shared_ptr<Connect
bool ModuleManager::Attach(Implementation i, const ModulePtr& mod)
{
- if (stdalgo::isin(EventHandlers[i], mod))
+ if (insp::contains(EventHandlers[i], mod))
return false;
EventHandlers[i].push_back(mod);