]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nonotice.cpp
Move some stuff from using userrec cached stuff to using stuff in the connect classes
[user/henk/code/inspircd.git] / src / modules / m_nonotice.cpp
index 314a7c8fe13cd504db566cb3a47fe711539f9a87..ecff94532893f38c6343feedff7820bd476670da 100644 (file)
@@ -54,7 +54,7 @@ class ModuleNoNotice : public Module
        {
                
                nt = new NoNotice(ServerInstance);
-               if (!ServerInstance->AddMode(nt, 'T'))
+               if (!ServerInstance->AddMode(nt))
                        throw ModuleException("Could not add new modes!");
        }