]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_autoop.cpp
m_spanningtree Remove duplicate code for sending channel messages from RouteCommand()
[user/henk/code/inspircd.git] / src / modules / m_autoop.cpp
index 9620a3a063f0ffbb04f2700cc2fe1b98eed8c0e8..6bc5f464c375d6697a3ce93bab938fba04ec1826 100644 (file)
@@ -21,8 +21,6 @@
 #include "inspircd.h"
 #include "listmode.h"
 
-/* $ModDesc: Provides support for the +w channel mode, autoop list */
-
 /** Handles +w channel mode
  */
 class AutoOpList : public ListModeBase
@@ -91,9 +89,6 @@ class ModuleAutoOp : public Module
        {
                ServerInstance->Modules->AddService(mh);
                mh.DoImplements(this);
-
-               Implementation list[] = { I_OnPostJoin, };
-               ServerInstance->Modules->Attach(list, this, sizeof(list)/sizeof(Implementation));
        }
 
        void OnPostJoin(Membership *memb) CXX11_OVERRIDE