From 4a455cfeea2decf9e979405f52c085593d50c18a Mon Sep 17 00:00:00 2001 From: aquanight Date: Sun, 21 Sep 2008 01:51:29 +0000 Subject: Make regex providers load correctly. Move m_rline to use the regex providers, and also move m_rline out of extras/. Document provider modules, and particularly the uselessness of . git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10573 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_regex_tre.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/modules/extra/m_regex_tre.cpp') 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) -- cgit v1.2.3