Fix reading the setname config tag.

This commit is contained in:
Peter Powell 2019-01-28 23:23:41 +00:00
parent 26a80ed2c7
commit 4d768d823d

View File

@ -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");