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

irc: display a single error message when parsing of a command failed

This commit is contained in:
Sébastien Helleu
2021-10-13 18:45:36 +02:00
parent 9102e4f552
commit 55df7805c2
+2 -5
View File
@@ -7129,12 +7129,9 @@ irc_protocol_recv_command (struct t_irc_server *server,
{
weechat_printf (server->buffer,
_("%s%s: failed to parse command \"%s\" (please "
"report to developers):"),
"report to developers): \"%s\""),
weechat_prefix ("error"), IRC_PLUGIN_NAME,
msg_command);
weechat_printf (server->buffer,
"%s%s",
weechat_prefix ("error"), irc_message);
msg_command, irc_message);
}
/* send signal with received command (if message is not ignored) */