From 569324feeecea939854e45bbd44495b849fcfd59 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 18 Apr 2021 04:37:51 +0100 Subject: Migrate collections from insert to emplace. --- src/modules/m_clearchan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_clearchan.cpp') diff --git a/src/modules/m_clearchan.cpp b/src/modules/m_clearchan.cpp index 543f47d3d..0d656a023 100644 --- a/src/modules/m_clearchan.cpp +++ b/src/modules/m_clearchan.cpp @@ -187,7 +187,7 @@ class ModuleClearChan : public Module // module before us doesn't want them to see it or added the exceptions already. // If there is a value for this oper in excepts already, this won't overwrite it. if (found) - exception.insert(std::make_pair(curr, true)); + exception.emplace(curr, true); continue; } else if (!include.empty() && curr->chans.size() > 1) -- cgit v1.3.1-10-gc9f91