mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 16:23:14 +02:00
irc: display a single error message when a command is not found
This commit is contained in:
@@ -7076,12 +7076,9 @@ irc_protocol_recv_command (struct t_irc_server *server,
|
||||
else
|
||||
{
|
||||
weechat_printf (server->buffer,
|
||||
_("%s%s: command \"%s\" not found:"),
|
||||
_("%s%s: command \"%s\" not found: \"%s\""),
|
||||
weechat_prefix ("error"), IRC_PLUGIN_NAME,
|
||||
msg_command);
|
||||
weechat_printf (server->buffer,
|
||||
"%s%s",
|
||||
weechat_prefix ("error"), irc_message);
|
||||
msg_command, irc_message);
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user