]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_delayjoin.cpp
m_spanningtree Remove duplicate code for sending channel messages from RouteCommand()
[user/henk/code/inspircd.git] / src / modules / m_delayjoin.cpp
index a1a1479f30f74545c184350525f2b0609c1107ea..444cbbc395db258153b04a03ad0f4a150591365c 100644 (file)
@@ -20,8 +20,6 @@
  */
 
 
-/* $ModDesc: Allows for delay-join channels (+D) where users don't appear to join until they speak */
-
 #include "inspircd.h"
 #include <stdarg.h>
 
@@ -50,8 +48,6 @@ class ModuleDelayJoin : public Module
        {
                ServerInstance->Modules->AddService(djm);
                ServerInstance->Modules->AddService(unjoined);
-               Implementation eventlist[] = { I_OnUserJoin, I_OnUserPart, I_OnUserKick, I_OnBuildNeighborList, I_OnNamesListItem, I_OnText, I_OnRawMode };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
        }
        Version GetVersion() CXX11_OVERRIDE;
        void OnNamesListItem(User* issuer, Membership*, std::string &prefixes, std::string &nick) CXX11_OVERRIDE;