inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 4d768d823de020056d478b03107f6c2e390adca2
parent 26a80ed2c783bda2bc7abca9dd435b86f3ce2eeb
Author: Peter Powell <petpow@saberuk.com>
Date:   Mon, 28 Jan 2019 23:23:41 +0000

Fix reading the setname config tag.

Diffstat:
Msrc/modules/m_setname.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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");