]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_regex_tre.cpp
Allow commands to optionally route themselves using ENCAP
[user/henk/code/inspircd.git] / src / modules / extra / m_regex_tre.cpp
index 2a89015d9cd8d6ea276dfa6810b51f745ad792e8..085f15eb3dd70224f3a3d181bed522eaf58e55a5 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.
@@ -83,6 +83,11 @@ public:
                Me->Modules->Attach(eventlist, this, 1);
        }
 
+       virtual Version GetVersion()
+       {
+               return Version("$Id$", 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)