X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_antibottler.cpp;h=4f6451cccfeacfd67cbaa06441e0f73b8971f78e;hb=04cfaea87edd1b4b742cb607ea69ece760c460aa;hp=8d4931e3b17e8ff66359d6d164d3b024d1fad09c;hpb=6d03943426dcce76ba66567a9b18425a5ebb4c0c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp index 8d4931e3b..4f6451ccc 100644 --- a/src/modules/m_antibottler.cpp +++ b/src/modules/m_antibottler.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 @@ -33,10 +33,10 @@ class ModuleAntiBottler : public Module virtual Version GetVersion() { - return Version("Changes the ident of connecting bottler clients to 'bottler'",VF_VENDOR,API_VERSION); + return Version("Changes the ident of connecting bottler clients to 'bottler'",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) { char data[MAXBUF]; strlcpy(data,original_line.c_str(),MAXBUF);