summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-04-26 09:15:23 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-04-26 23:41:31 +0200
commit0f1cee08bf12aab377417d6d7077a4f5abdd08a3 (patch)
tree2f8e2bfc1d699a70359f06cbfe2f34091967c7f2 /src/plugins
parent6f22b82a7c8e2d3360c1a4c7575b845b46d46227 (diff)
downloadweechat-0f1cee08bf12aab377417d6d7077a4f5abdd08a3.zip
relay: fix error message for an invalid buffer received in a command (weechat protocol)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/relay/weechat/relay-weechat-protocol.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/relay/weechat/relay-weechat-protocol.c b/src/plugins/relay/weechat/relay-weechat-protocol.c
index 9cd42564a..91abec80b 100644
--- a/src/plugins/relay/weechat/relay-weechat-protocol.c
+++ b/src/plugins/relay/weechat/relay-weechat-protocol.c
@@ -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]);