aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r--src/modules/m_shun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index c99939193..6f66a6ac6 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -208,7 +208,7 @@ public:
cleanedcommands.Clear();
enabledcommands.Clear();
- auto tag = ServerInstance->Config->ConfValue("shun");
+ const auto& tag = ServerInstance->Config->ConfValue("shun");
allowconnect = tag->getBool("allowconnect");
allowtags = tag->getBool("allowtags");
cleanedcommands.AddList(tag->getString("cleanedcommands", "AWAY PART QUIT"));