]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_regex_posix.cpp
m_spanningtree Remove duplicate code for sending channel messages from RouteCommand()
[user/henk/code/inspircd.git] / src / modules / extra / m_regex_posix.cpp
index dbbc990b9ad106ee484513fd15941f6105e75a5f..ab9fe68ff3ec0fee5b51e6f17ed7029372baefc2 100644 (file)
@@ -23,9 +23,6 @@
 #include <sys/types.h>
 #include <regex.h>
 
-/* $ModDesc: Regex Provider Module for POSIX Regular Expressions */
-/* $ModDep: modules/regex.h */
-
 class POSIXRegexException : public ModuleException
 {
  public:
@@ -96,8 +93,6 @@ class ModuleRegexPOSIX : public Module
        ModuleRegexPOSIX() : ref(this)
        {
                ServerInstance->Modules->AddService(ref);
-               Implementation eventlist[] = { I_OnRehash };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
                OnRehash(NULL);
        }