]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_maphide.cpp
m_spanningtree Remove duplicate code for sending channel messages from RouteCommand()
[user/henk/code/inspircd.git] / src / modules / m_maphide.cpp
index ee6f7528d476a21c6bf67dc6d40655a0a2b78d33..21072c1fc29d0c6c6a68028e7103588ec5f86d63 100644 (file)
@@ -25,8 +25,6 @@ class ModuleMapHide : public Module
  public:
        void init() CXX11_OVERRIDE
        {
-               Implementation eventlist[] = { I_OnPreCommand, I_OnRehash };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
                OnRehash(NULL);
        }