]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanhistory.cpp
m_spanningtree Move all server-to-server command handlers into handler classes
[user/henk/code/inspircd.git] / src / modules / m_chanhistory.cpp
index ad10a25242463be7c7fa4eeee79153750a544eea..bace497c20dfb2a111b49bd8a11f2428740e6256 100644 (file)
@@ -19,8 +19,6 @@
 
 #include "inspircd.h"
 
-/* $ModDesc: Provides channel history for a given number of lines */
-
 struct HistoryItem
 {
        time_t ts;
@@ -119,8 +117,6 @@ class ModuleChanHistory : public Module
                ServerInstance->Modules->AddService(m);
                ServerInstance->Modules->AddService(m.ext);
 
-               Implementation eventlist[] = { I_OnPostJoin, I_OnUserMessage, I_OnRehash };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
                OnRehash(NULL);
        }