aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_clearchan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_clearchan.cpp')
-rw-r--r--src/modules/m_clearchan.cpp2
1 files changed, 1 insertions, 1 deletions
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)