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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user