1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

relay: fix build when CJSON is disabled (issue #2066)

This commit is contained in:
Sébastien Helleu
2024-02-02 07:44:57 +01:00
parent 86685f4af4
commit bc464679a7
+2
View File
@@ -431,7 +431,9 @@ relay_client_recv_text_multi_line (struct t_relay_client *client)
/* irc is single line only */
break;
case RELAY_PROTOCOL_API:
#ifdef HAVE_CJSON
relay_api_recv_json (client, client->partial_message);
#endif /* HAVE_CJSON */
break;
case RELAY_NUM_PROTOCOLS:
break;