aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_setname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_setname.cpp')
-rw-r--r--src/modules/m_setname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp
index a639bb9be..9b6fe501e 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -87,7 +87,7 @@ public:
void ReadConfig(ConfigStatus& status) override
{
- auto tag = ServerInstance->Config->ConfValue("setname");
+ const auto& tag = ServerInstance->Config->ConfValue("setname");
// Whether the module should only be usable by server operators.
bool operonly = tag->getBool("operonly");