summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_regex_posix.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_posix.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_posix.cpp')
-rw-r--r--src/modules/extra/m_regex_posix.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/extra/m_regex_posix.cpp b/src/modules/extra/m_regex_posix.cpp
index ab5d44b99..63ba61df8 100644
--- a/src/modules/extra/m_regex_posix.cpp
+++ b/src/modules/extra/m_regex_posix.cpp
@@ -84,6 +84,11 @@ public:
OnRehash(NULL, "");
}
+ virtual Version GetVersion()
+ {
+ return Version("$Id: m_regex_posix.cpp 10291 2008-08-25 20:35:51Z w00t $", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
+ }
+
virtual ~ModuleRegexPOSIX()
{
ServerInstance->Modules->UnpublishInterface("RegularExpression", this);
@@ -111,3 +116,5 @@ public:
return NULL;
}
};
+
+MODULE_INIT(ModuleRegexPOSIX)