1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

irc: use parsed command parameters in "cap" command callback

This commit is contained in:
Sébastien Helleu
2021-10-10 21:53:01 +02:00
parent 15392e4a81
commit 56edeba7fc
3 changed files with 359 additions and 277 deletions
+2 -2
View File
@@ -35,7 +35,7 @@
int argc, \
char **argv, \
char **argv_eol, \
char **params, \
const char **params, \
int num_params)
#define IRCB(__message, __decode_color, __keep_trailing_spaces, \
__func_cb) \
@@ -111,7 +111,7 @@ typedef int (t_irc_recv_func)(struct t_irc_server *server,
const char *host, const char *command,
int ignored,
int argc, char **argv, char **argv_eol,
char **params, int num_params);
const char **params, int num_params);
struct t_irc_protocol_msg
{