summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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");