]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_censor.cpp
m_spanningtree Remove duplicate code for sending channel messages from RouteCommand()
[user/henk/code/inspircd.git] / src / modules / m_censor.cpp
index 4148c59b4f2b7f870a320b0da6b7148a2b4f4d5f..747c16d83a1cf98f1b70158ef68829b8ce18a709 100644 (file)
@@ -20,8 +20,6 @@
  */
 
 
-/* $ModDesc: Provides user and channel +G mode */
-
 #define _CRT_SECURE_NO_DEPRECATE
 #define _SCL_SECURE_NO_DEPRECATE
 
@@ -62,8 +60,6 @@ class ModuleCensor : public Module
                OnRehash(NULL);
                ServerInstance->Modules->AddService(cu);
                ServerInstance->Modules->AddService(cc);
-               Implementation eventlist[] = { I_OnRehash, I_OnUserPreMessage };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
        }
 
        // format of a config entry is <badword text="shit" replace="poo">