From afda90cd075455267e4a44a7e349fd2d02172d13 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 28 Aug 2008 15:40:16 +0000 Subject: Make this comply with the spec; that is - CAP may be requested after registration. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10333 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cap.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/modules/m_cap.cpp') diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp index ca2e861e2..6fc1584ec 100644 --- a/src/modules/m_cap.cpp +++ b/src/modules/m_cap.cpp @@ -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") -- cgit v1.2.3