1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

relay: fix error message for an invalid buffer received in a command (weechat protocol)

This commit is contained in:
Sébastien Helleu
2020-04-26 09:15:23 +02:00
parent 6f22b82a7c
commit 0f1cee08bf
14 changed files with 34 additions and 36 deletions
@@ -571,8 +571,7 @@ RELAY_WEECHAT_PROTOCOL_CALLBACK(nicklist)
if (weechat_relay_plugin->debug >= 1)
{
weechat_printf (NULL,
_("%s: invalid buffer pointer in message: "
"\"%s %s\""),
_("%s: invalid buffer in message: \"%s %s\""),
RELAY_PLUGIN_NAME,
command,
argv_eol[0]);
@@ -616,8 +615,7 @@ RELAY_WEECHAT_PROTOCOL_CALLBACK(input)
if (weechat_relay_plugin->debug >= 1)
{
weechat_printf (NULL,
_("%s: invalid buffer pointer in message: "
"\"%s %s\""),
_("%s: invalid buffer in message: \"%s %s\""),
RELAY_PLUGIN_NAME,
command,
argv[0]);