X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_cap.cpp;h=d70b32cde9ca999b97d6b113a0f0d0eedda2003c;hb=495ea4be05859f46cbf99c10541210fa3590f01a;hp=b56300ba803ca98e763f00aafd260532547092a6;hpb=fce32c7b5baa50aa4d2d414e0361009489eccd1c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp index b56300ba8..d70b32cde 100644 --- a/src/modules/m_cap.cpp +++ b/src/modules/m_cap.cpp @@ -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 ¶meters, 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); } };