]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_shun.cpp
m_spanningtree Allow server-to-server command handlers to specify whether they accept...
[user/henk/code/inspircd.git] / src / modules / m_shun.cpp
index a06149b62d2c13cae70df5721664a6c9daed4eeb..dbc1812c700ce96e42f244097e1d13fa4d6bf40e 100644 (file)
@@ -23,8 +23,6 @@
 #include "inspircd.h"
 #include "xline.h"
 
-/* $ModDesc: Provides the /SHUN command, which stops a user from executing all except configured commands. */
-
 class Shun : public XLine
 {
 public:
@@ -184,8 +182,6 @@ class ModuleShun : public Module
                ServerInstance->XLines->RegisterFactory(&f);
                ServerInstance->Modules->AddService(cmd);
 
-               Implementation eventlist[] = { I_OnStats, I_OnPreCommand, I_OnRehash };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
                OnRehash(NULL);
        }