]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cap.cpp
Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree
[user/henk/code/inspircd.git] / src / modules / m_cap.cpp
index b56300ba803ca98e763f00aafd260532547092a6..d70b32cde9ca999b97d6b113a0f0d0eedda2003c 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -43,10 +43,6 @@ class CommandCAP : public Command
 
        CmdResult Handle (const std::vector<std::string> &parameters, User *user)
        {
-               /* Ignore CAP from registered clients */
-               if (user->registered == REG_ALL)
-                       return CMD_FAILURE;
-
                irc::string subcommand = parameters[0].c_str();
 
                if (subcommand == "REQ")
@@ -164,7 +160,7 @@ class ModuleCAP : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_VENDOR, API_VERSION);
        }
 };