diff options
| author | 2019-01-28 23:23:41 +0000 | |
|---|---|---|
| committer | 2019-01-28 23:23:41 +0000 | |
| commit | 4d768d823de020056d478b03107f6c2e390adca2 (patch) | |
| tree | 915d0e67225e5dc791d84226c4dfe5524d73cc2f /src/modules/m_setname.cpp | |
| parent | Read the muteban config in ReadConfig(). (diff) | |
Fix reading the setname config tag.
Diffstat (limited to 'src/modules/m_setname.cpp')
| -rw-r--r-- | src/modules/m_setname.cpp | 2 |
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"); |
