summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-01-28 23:23:41 +0000
committerPeter Powell <petpow@saberuk.com>2019-01-28 23:23:41 +0000
commit4d768d823de020056d478b03107f6c2e390adca2 (patch)
tree915d0e67225e5dc791d84226c4dfe5524d73cc2f /src
parent26a80ed2c783bda2bc7abca9dd435b86f3ce2eeb (diff)
Fix reading the setname config tag.
Diffstat (limited to 'src')
-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 ae85fc98d..5c27a655e 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -64,7 +64,7 @@ class ModuleSetName : public Module
void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
{
- ConfigTag* tag = ServerInstance->Config->ConfValue("cgiirc");
+ ConfigTag* tag = ServerInstance->Config->ConfValue("setname");
// Whether the module should only be usable by server operators.
bool operonly = tag->getBool("operonly");