summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-10-14 21:27:20 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-10-17 21:28:31 +0200
commit33a3c485be3271a5623c3271f45b0f047bc26b0d (patch)
treebe566c4aa881c8ace1b7be7fa2fd36d6be2c3a53 /src/plugins
parent7b4d48c46d368fc8fca9b8429f4bac10f6d12e1c (diff)
downloadweechat-33a3c485be3271a5623c3271f45b0f047bc26b0d.zip
irc: shorten error in case of missing parameters in command received
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-protocol.h4
1 files changed, 2 insertions, 2 deletions
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; \