aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp
index f91ed43c3..c87b41244 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -200,7 +200,7 @@ public:
* Process config-defined list of permanent channels.
* -- w00t
*/
- for (auto& [_, tag] : ServerInstance->Config->ConfTags("permchannels"))
+ for (const auto& [_, tag] : ServerInstance->Config->ConfTags("permchannels"))
{
std::string channel = tag->getString("channel");
std::string modes = tag->getString("modes");