diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-18 20:24:45 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-18 20:24:45 +0000 |
commit | 83137d5f9274832f152acc7d19de3cb0897f9630 (patch) | |
tree | 66ff8a903b0af054ca537aa14b768a9804852ded /src/modules | |
parent | 30b88d03f9ca249110ddb7d912d308996319e593 (diff) |
Support CAP LS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9121 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_cap.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |