The main-page documentation for the CAP command currently lists its parameters as <subcommand> [:<capabilities>]. However, according to the linked Capability Negotiation specification, this format is only used for CAP messages sent from the client to the server, while CAP messages sent from the server to the client have parameters of the form <nick-or-asterisk> <subcommand> [<parameter> ...].
The main-page documentation for the
CAPcommand currently lists its parameters as<subcommand> [:<capabilities>]. However, according to the linked Capability Negotiation specification, this format is only used forCAPmessages sent from the client to the server, whileCAPmessages sent from the server to the client have parameters of the form<nick-or-asterisk> <subcommand> [<parameter> ...].