]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operlog.cpp
Eliminate duplicate names between user and channel modes
[user/henk/code/inspircd.git] / src / modules / m_operlog.cpp
index e0ef99a22ed210aa6b2c927bc992dd0865754b9c..252042ba010ef39d25945b87cd4dbdb830c61b76 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -32,11 +32,11 @@ class ModuleOperLog : public Module
 
        virtual Version GetVersion()
        {
-               return Version("A module which logs all oper commands to the ircd log at default loglevel.", VF_VENDOR, API_VERSION);
+               return Version("A module which logs all oper commands to the ircd log at default loglevel.", VF_VENDOR);
        }
 
 
-       virtual ModResult OnPreCommand(std::string &command, std::vector<std::string> &parameters, User *user, bool validated, const std::string &original_line)
+       virtual ModResult OnPreCommand(std::string &command, std::vector<std::string> &parameters, LocalUser *user, bool validated, const std::string &original_line)
        {
                /* If the command doesnt appear to be valid, we dont want to mess with it. */
                if (!validated)