]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operjoin.cpp
Remove m_testcommand too
[user/henk/code/inspircd.git] / src / modules / m_operjoin.cpp
index 4b05b372ae92eb37a1f73b8b9283d0bf47e3ba8d..7b02958461ff5b4031ca8f91055d598b6ddc1ef4 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.
@@ -45,13 +45,13 @@ class ModuleOperjoin : public Module
        public:
                ModuleOperjoin(InspIRCd* Me) : Module(Me)
                {
-                       OnRehash(NULL, "");
+                       OnRehash(NULL);
                Implementation eventlist[] = { I_OnPostOper, I_OnRehash };
                ServerInstance->Modules->Attach(eventlist, this, 2);
                }
 
 
-               virtual void OnRehash(User* user, const std::string &parameter)
+               virtual void OnRehash(User* user)
                {
                        ConfigReader* conf = new ConfigReader(ServerInstance);
 
@@ -82,7 +82,7 @@ class ModuleOperjoin : public Module
 
                virtual Version GetVersion()
                {
-                       return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+                       return Version("$Id$", VF_VENDOR, API_VERSION);
                }
 
                virtual void OnPostOper(User* user, const std::string &opertype, const std::string &opername)