summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_cap.cpp6
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;
}