]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_redirect.cpp
m_spanningtree Remove duplicate code for sending channel messages from RouteCommand()
[user/henk/code/inspircd.git] / src / modules / m_redirect.cpp
index 735b27adaf1ffe15d4de018738810925910f8402..89097ade4cc07b318cea5722f90e4dc076dbb1d4 100644 (file)
@@ -123,9 +123,6 @@ class ModuleRedirect : public Module
                        /* Try to add the usermode */
                        ServerInstance->Modules->AddService(re_u);
                }
-
-               Implementation eventlist[] = { I_OnUserPreJoin };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
        }
 
        ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven) CXX11_OVERRIDE