]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_antibottler.cpp
Add access checking for m_autoop
[user/henk/code/inspircd.git] / src / modules / m_antibottler.cpp
index 8d4931e3b17e8ff66359d6d164d3b024d1fad09c..4f6451cccfeacfd67cbaa06441e0f73b8971f78e 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
@@ -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<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)
        {
                char data[MAXBUF];
                strlcpy(data,original_line.c_str(),MAXBUF);