diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-14 23:08:45 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-17 21:28:31 +0200 |
commit | 179822fb91a6dae34a22cf35f174c0df68917230 (patch) | |
tree | e78ce0419dc708ad6e69a46db2f9ef5b93dce12f /src/plugins/irc/irc-protocol.h | |
parent | 5e712d7145846b9b16a8dbc40ec06f2b8c1a7273 (diff) | |
download | weechat-179822fb91a6dae34a22cf35f174c0df68917230.zip |
irc: use parsed command parameters in "privmsg" command callback
Diffstat (limited to 'src/plugins/irc/irc-protocol.h')
-rw-r--r-- | src/plugins/irc/irc-protocol.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-protocol.h b/src/plugins/irc/irc-protocol.h index 6551b90d0..a36559d4b 100644 --- a/src/plugins/irc/irc-protocol.h +++ b/src/plugins/irc/irc-protocol.h @@ -26,6 +26,7 @@ int \ irc_protocol_cb_##__command (struct t_irc_server *server, \ time_t date, \ + const char *irc_message, \ struct t_hashtable *tags, \ const char *nick, \ const char *address, \ @@ -46,6 +47,7 @@ #define IRC_PROTOCOL_MIN_ARGS(__min_args) \ (void) date; \ + (void) irc_message; \ (void) tags; \ (void) nick; \ (void) address; \ @@ -70,6 +72,7 @@ #define IRC_PROTOCOL_MIN_PARAMS(__min_params) \ (void) date; \ + (void) irc_message; \ (void) tags; \ (void) nick; \ (void) address; \ @@ -117,7 +120,8 @@ struct t_irc_server; typedef int (t_irc_recv_func)(struct t_irc_server *server, - time_t date, struct t_hashtable *tags, + time_t date, const char *irc_message, + struct t_hashtable *tags, const char *nick, const char *address, const char *host, const char *command, int ignored, |