summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-05-04 08:39:56 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-05-04 08:39:56 +0200
commitb21b64bc44cea0fed8635bf2e1b0d0c7e8ef9d8c (patch)
treeea9bc60d34e774acc3ee119236577b7fea0dc8ce /src
parent68ff525d2e5ce4c8e3b4f8ffd4b464aeec28d422 (diff)
downloadweechat-b21b64bc44cea0fed8635bf2e1b0d0c7e8ef9d8c.zip
relay/remote: do not display error if the buffer is not found in a line/nick event
Diffstat (limited to 'src')
-rw-r--r--src/plugins/relay/api/remote/relay-remote-event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/relay/api/remote/relay-remote-event.c b/src/plugins/relay/api/remote/relay-remote-event.c
index 8062024cc..bb9fdd4a4 100644
--- a/src/plugins/relay/api/remote/relay-remote-event.c
+++ b/src/plugins/relay/api/remote/relay-remote-event.c
@@ -140,7 +140,7 @@ RELAY_REMOTE_EVENT_CALLBACK(line)
struct timeval tv_date;
if (!event->buffer)
- return WEECHAT_RC_ERROR;
+ return WEECHAT_RC_OK;
JSON_GET_NUM(event->json, y, -1);
JSON_GET_STR(event->json, date);
@@ -347,7 +347,7 @@ RELAY_REMOTE_EVENT_CALLBACK(nick_group)
long long id;
if (!event->buffer)
- return WEECHAT_RC_ERROR;
+ return WEECHAT_RC_OK;
if (weechat_strcmp (event->name, "nicklist_group_removing") == 0)
{
@@ -377,7 +377,7 @@ RELAY_REMOTE_EVENT_CALLBACK(nick)
long long id;
if (!event->buffer)
- return WEECHAT_RC_ERROR;
+ return WEECHAT_RC_OK;
if (weechat_strcmp (event->name, "nicklist_nick_removing") == 0)
{