diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-02 07:44:57 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-02 07:44:57 +0100 |
commit | bc464679a733986632c2ce7117daea8a91a67aed (patch) | |
tree | 511c36d638f666a6108dff2722acf8804b33a643 /src/plugins | |
parent | 86685f4af4145e3c5551e6a6760cd0ee7d6a18d2 (diff) | |
download | weechat-bc464679a733986632c2ce7117daea8a91a67aed.zip |
relay: fix build when CJSON is disabled (issue #2066)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/relay/relay-client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/relay/relay-client.c b/src/plugins/relay/relay-client.c index b5260700d..29e2cb6ff 100644 --- a/src/plugins/relay/relay-client.c +++ b/src/plugins/relay/relay-client.c @@ -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; |