From 83137d5f9274832f152acc7d19de3cb0897f9630 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 18 Mar 2008 20:24:45 +0000 Subject: Support CAP LS git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9121 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cap.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/modules') diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp index 0a36a9b6a..564ed594b 100644 --- a/src/modules/m_cap.cpp +++ b/src/modules/m_cap.cpp @@ -65,6 +65,12 @@ class CommandCAP : public Command Event event((char*) &Data, (Module*)this->Creator, "cap_ls"); event.Send(this->ServerInstance); + + user->WriteServ("CAP * LS :%s", Data.parameter.c_str()); + } + else + { + user->WriteServ("410 %s %s :Invalid CAP subcommand", user->nick, subcommand.c_str()); } return CMD_FAILURE; } -- cgit v1.2.3