X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_operlog.cpp;h=252042ba010ef39d25945b87cd4dbdb830c61b76;hb=76f9f4b47a16888d93bdb6122de0e1f6d7965f4b;hp=e0ef99a22ed210aa6b2c927bc992dd0865754b9c;hpb=6d03943426dcce76ba66567a9b18425a5ebb4c0c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp index e0ef99a22..252042ba0 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -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 ¶meters, User *user, bool validated, const std::string &original_line) + virtual ModResult OnPreCommand(std::string &command, std::vector ¶meters, 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)