aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_regex_glob.cpp
diff options
context:
space:
mode:
authorGravatar aquanight2008-09-21 01:51:29 +0000
committerGravatar aquanight2008-09-21 01:51:29 +0000
commit4a455cfeea2decf9e979405f52c085593d50c18a (patch)
tree56b7913bdce0c612f9179895c9767b2f94ef6e87 /src/modules/m_regex_glob.cpp
parentFix crash (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/m_regex_glob.cpp')
-rw-r--r--src/modules/m_regex_glob.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/m_regex_glob.cpp b/src/modules/m_regex_glob.cpp
index 7977c77f1..2f7174f0d 100644
--- a/src/modules/m_regex_glob.cpp
+++ b/src/modules/m_regex_glob.cpp
@@ -44,6 +44,11 @@ public:
Me->Modules->Attach(eventlist, this, 1);
}
+ virtual Version GetVersion()
+ {
+ return Version("$Id: m_regex_glob.cpp 10291 2008-08-25 20:35:51Z w00t $", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
+ }
+
virtual ~ModuleRegexGlob()
{
ServerInstance->Modules->UnpublishInterface("RegularExpression", this);
@@ -65,3 +70,5 @@ public:
return NULL;
}
};
+
+MODULE_INIT(ModuleRegexGlob)