]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setname.cpp
Fix erroneously limiting to the size of sa instead of sun_path.
[user/henk/code/inspircd.git] / src / modules / m_setname.cpp
index ae85fc98dc57b5a8e21f6ca777461da3f65410e4..5c27a655e7ecffdb80ee5d9d333b7423f41d6896 100644 (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");