From 786f889251e6a962a1fdceef7e784fb3408ec974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 10 Feb 2024 22:30:03 +0100 Subject: relay: add command `/remote`, add remote configuration in relay.conf (issue #2066) --- src/plugins/relay/api/relay-api-protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/relay/api/relay-api-protocol.c') diff --git a/src/plugins/relay/api/relay-api-protocol.c b/src/plugins/relay/api/relay-api-protocol.c index ac3b8f13e..265e0df3b 100644 --- a/src/plugins/relay/api/relay-api-protocol.c +++ b/src/plugins/relay/api/relay-api-protocol.c @@ -808,7 +808,7 @@ relay_api_protocol_recv_http (struct t_relay_client *client) { NULL, NULL, 0, 0, 0, NULL }, }; - if (!client->http_req || RELAY_CLIENT_HAS_ENDED(client)) + if (!client->http_req || RELAY_STATUS_HAS_ENDED(client->status)) return; /* display debug message */ -- cgit v1.2.3