]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hidechans.cpp
Dont echo the JOIN to the user whos speaking
[user/henk/code/inspircd.git] / src / modules / m_hidechans.cpp
index 2637968a9d9750097c929c3aca4efefa027bcc16..42614e937c877605fc2f272bb1ece6e9d5c8477e 100644 (file)
@@ -59,7 +59,7 @@ class ModuleHideChans : public Module
        {
                
                hm = new HideChans(ServerInstance);
-               if (!ServerInstance->AddMode(hm, 'I'))
+               if (!ServerInstance->AddMode(hm))
                        throw ModuleException("Could not add new modes!");
        }