summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_regex_tre.cpp
diff options
context:
space:
mode:
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-21 01:51:29 +0000
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-21 01:51:29 +0000
commit4a455cfeea2decf9e979405f52c085593d50c18a (patch)
tree56b7913bdce0c612f9179895c9767b2f94ef6e87 /src/modules/extra/m_regex_tre.cpp
parentcbb95cffac2fe5533bae8bf5dc2ce62fb0f17c2f (diff)
Make regex providers load correctly. Move m_rline to use the regex providers, and also move m_rline out of extras/. Document provider modules, <rline:engine> and particularly the uselessness of <rline engine="glob">.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10573 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_regex_tre.cpp')
-rw-r--r--src/modules/extra/m_regex_tre.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/extra/m_regex_tre.cpp b/src/modules/extra/m_regex_tre.cpp
index 2a89015d9..e0468d3c5 100644
--- a/src/modules/extra/m_regex_tre.cpp
+++ b/src/modules/extra/m_regex_tre.cpp
@@ -83,6 +83,11 @@ public:
Me->Modules->Attach(eventlist, this, 1);
}
+ virtual Version GetVersion()
+ {
+ return Version("$Id: m_regex_tre.cpp 10291 2008-08-25 20:35:51Z w00t $", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
+ }
+
virtual ~ModuleRegexTRE()
{
ServerInstance->Modules->UnpublishInterface("RegularExpression", this);
@@ -104,3 +109,5 @@ public:
return NULL;
}
};
+
+MODULE_INIT(ModuleRegexTRE)