]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operlevels.cpp
Add config <options:disablehmac> to support disabling of HMAC, and tidy up to detect...
[user/henk/code/inspircd.git] / src / modules / m_operlevels.cpp
index 2793241117a1bf8450c9a57267fe52163a2f96cd..f8fdb89d69760b416224d9d846f304702b48afcb 100644 (file)
@@ -1,4 +1,15 @@
-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"
@@ -39,7 +50,7 @@ class ModuleOperLevels : public Module
                        List[I_OnRehash] = List[I_OnKill] = 1;
                }
 
-               virtual void OnRehash(const std::string &parameter)
+               virtual void OnRehash(userrec* user, const std::string &parameter)
                {
                        DELETE(conf);
                        conf = new ConfigReader(ServerInstance);
@@ -47,7 +58,7 @@ class ModuleOperLevels : 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 int OnKill(userrec* source, userrec* dest, const std::string &reason)