From 4d768d823de020056d478b03107f6c2e390adca2 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 28 Jan 2019 23:23:41 +0000 Subject: Fix reading the setname config tag. --- src/modules/m_setname.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); -- cgit v1.2.3