aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_chanlog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chanlog.cpp')
-rw-r--r--src/modules/m_chanlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp
index 349e0be47..939010613 100644
--- a/src/modules/m_chanlog.cpp
+++ b/src/modules/m_chanlog.cpp
@@ -55,7 +55,7 @@ class ModuleChanLog : public Module
for (const auto& snomask : snomasks)
{
- newlogs.insert(std::make_pair(snomask, channel));
+ newlogs.emplace(snomask, channel);
ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, "Logging %c to %s", snomask, channel.c_str());
}
}