]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_deaf.cpp
Dont echo the JOIN to the user whos speaking
[user/henk/code/inspircd.git] / src / modules / m_deaf.cpp
index ced6adecee5e6889f6740cafc1e9429f566dd803..44479c21bc01f00f9decb291519d07a97846b06d 100644 (file)
@@ -60,7 +60,7 @@ class ModuleDeaf : public Module
                : Module(Me)
        {
                m1 = new User_d(ServerInstance);
-               if (!ServerInstance->AddMode(m1, 'd'))
+               if (!ServerInstance->AddMode(m1))
                        throw ModuleException("Could not add new modes!");
 
                OnRehash(NULL, "");