From 33a3c485be3271a5623c3271f45b0f047bc26b0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 14 Oct 2021 21:27:20 +0200 Subject: irc: shorten error in case of missing parameters in command received --- src/plugins/irc/irc-protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/irc/irc-protocol.h b/src/plugins/irc/irc-protocol.h index 7d3fc0038..81005ad63 100644 --- a/src/plugins/irc/irc-protocol.h +++ b/src/plugins/irc/irc-protocol.h @@ -85,8 +85,8 @@ { \ weechat_printf (server->buffer, \ _("%s%s: too few parameters received in " \ - "command \"%s\" (received: %d parameters, " \ - "expected: at least %d)"), \ + "command \"%s\" (received: %d, expected: " \ + "at least %d)"), \ weechat_prefix ("error"), IRC_PLUGIN_NAME, \ command, num_params, __min_params); \ return WEECHAT_RC_ERROR; \ -- cgit v1.2.3