]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operjoin.cpp
To be more specific, specify rpath() macro here
[user/henk/code/inspircd.git] / src / modules / m_operjoin.cpp
index 9f9df9d42122c79cfeefacb897546d689af7b397..75f809f4a9cd988505034867cf6a281e7d6cce2d 100644 (file)
@@ -1,6 +1,15 @@
-// operjoin module by typobox43
-
-using namespace std;
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
 
 #include "users.h"
 #include "channels.h"
@@ -52,7 +61,7 @@ class ModuleOperjoin : public Module
                        List[I_OnPostOper] = List[I_OnRehash] = 1;
                }
 
-               virtual void OnRehash(const std::string &parameter)
+               virtual void OnRehash(userrec* user, const std::string &parameter)
                {
                        DELETE(conf);
                        conf = new ConfigReader(ServerInstance);
@@ -65,7 +74,7 @@ class ModuleOperjoin : public Module
 
                virtual Version GetVersion()
                {
-                       return Version(1,0,0,1,VF_VENDOR,API_VERSION);
+                       return Version(1,1,0,1,VF_VENDOR,API_VERSION);
                }
 
                virtual void OnPostOper(userrec* user, const std::string &opertype)