]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hideoper.cpp
Theres no need to check the address of a stack declared array for NULL, thanks darix
[user/henk/code/inspircd.git] / src / modules / m_hideoper.cpp
index fd39cde0f7469e189a4342344da9807464294d30..a2a3f21cda6029916a02db2b84892c720031b591 100644 (file)
@@ -58,7 +58,7 @@ class ModuleHideOper : public Module
        {
                
                hm = new HideOper(ServerInstance);
-               if (!ServerInstance->AddMode(hm, 'H'))
+               if (!ServerInstance->AddMode(hm))
                        throw ModuleException("Could not add new modes!");
        }