summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-07-02 20:30:50 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-07-02 20:34:36 +0200
commitbbf55b734c678d85e335fffe43daf7fadc16d1ea (patch)
treea993b29911c85fb59918e02eed322591ba19e6c8
parent2095887be98c768da5e426cfd54e90b268e9db03 (diff)
downloadweechat-bbf55b734c678d85e335fffe43daf7fadc16d1ea.zip
irc: start at parameter #2 in callback of messages 524/704/705/706 (issue #1772)
-rw-r--r--src/plugins/irc/irc-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 7e11acc4a..16481221c 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -6602,7 +6602,7 @@ IRC_PROTOCOL_CALLBACK(help)
if (ignored)
return WEECHAT_RC_OK;
- str_message = irc_protocol_string_params (params, num_params - 1, num_params - 1);
+ str_message = irc_protocol_string_params (params, 2, num_params - 1);
weechat_printf_date_tags (
irc_msgbuffer_get_target_buffer (server, nick, command, NULL, NULL),