aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_cloaking.cpp')
-rw-r--r--src/modules/m_cloaking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index 351339789..2000f1c40 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -445,7 +445,7 @@ class ModuleCloaking : public Module
bool firstcloak = true;
std::vector<CloakInfo> newcloaks;
- for (auto& [_, tag] : tags)
+ for (const auto& [_, tag] : tags)
{
// Ensure that we have the <cloak:key> parameter.
const std::string key = tag->getString("key");