]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_regex_posix.cpp
How about we make this compile?
[user/henk/code/inspircd.git] / src / modules / extra / m_regex_posix.cpp
index ab5d44b990b87f5a17ec6db2f94a31e485e3ec35..ba653247a48dd262231a727f3b5ed6f8ec1c3b78 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -84,6 +84,11 @@ public:
                OnRehash(NULL, "");
        }
 
+       virtual Version GetVersion()
+       {
+               return Version("$Id$", 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)