aboutsummaryrefslogtreecommitdiff
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 1b690f1ca..5c190d3d7 100644
--- a/src/modules/m_chanlog.cpp
+++ b/src/modules/m_chanlog.cpp
@@ -44,7 +44,7 @@ class ModuleChanLog : public Module
void ReadConfig(ConfigStatus& status) override
{
ChanLogTargets newlogs;
- for (auto& [_, tag] : ServerInstance->Config->ConfTags("chanlog"))
+ for (const auto& [_, tag] : ServerInstance->Config->ConfTags("chanlog"))
{
std::string channel = tag->getString("channel");
std::string snomasks = tag->getString("snomasks");