summaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-28 15:40:16 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-28 15:40:16 +0000
commitafda90cd075455267e4a44a7e349fd2d02172d13 (patch)
tree91d27cfb98cff8591754c4ac45875ee0b23ab79c /src/modules/m_cap.cpp
parentee790f2cb4542dfed081e4a7d6fa61cc458b7108 (diff)
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
Diffstat (limited to 'src/modules/m_cap.cpp')
-rw-r--r--src/modules/m_cap.cpp4
1 files changed, 0 insertions, 4 deletions
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<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")