]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_regex_posix.cpp
OnRehash changes: split to multiple hooks to clarify use and prevent explosion of...
[user/henk/code/inspircd.git] / src / modules / extra / m_regex_posix.cpp
index 63ba61df8f30a583bd90a395f09b66443554698b..6cf7ec44dab0afc53af72934cb264b830157cd33 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.
@@ -81,12 +81,12 @@ public:
                Me->Modules->PublishInterface("RegularExpression", this);
                Implementation eventlist[] = { I_OnRequest, I_OnRehash };
                Me->Modules->Attach(eventlist, this, 2);
-               OnRehash(NULL, "");
+               OnRehash(NULL);
        }
 
        virtual Version GetVersion()
        {
-               return Version("$Id: m_regex_posix.cpp 10291 2008-08-25 20:35:51Z w00t $", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
+               return Version("$Id$", VF_COMMON | VF_VENDOR | VF_SERVICEPROVIDER, API_VERSION);
        }
 
        virtual ~ModuleRegexPOSIX()
@@ -94,7 +94,7 @@ public:
                ServerInstance->Modules->UnpublishInterface("RegularExpression", this);
        }
 
-       virtual void OnRehash(User* u, const std::string& parameter)
+       virtual void OnRehash(User* u)
        {
                ConfigReader Conf(ServerInstance);
                extended = Conf.ReadFlag("posix", "extended", 0);