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/m_regex_glob.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/modules/m_regex_glob.cpp') 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) -- cgit v1.3.1-10-gc9f91