From 9263634d2e0f9eb5fcc56879daf68c851d79a5e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 6 Feb 2016 14:08:20 +0100 Subject: relay: fix websocket frame decoding, answer a PONG to PING (closes #675) --- src/plugins/relay/irc/relay-irc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/relay/irc/relay-irc.c') diff --git a/src/plugins/relay/irc/relay-irc.c b/src/plugins/relay/irc/relay-irc.c index 5731edd1a..00754f45e 100644 --- a/src/plugins/relay/irc/relay-irc.c +++ b/src/plugins/relay/irc/relay-irc.c @@ -236,7 +236,8 @@ relay_irc_sendf (struct t_relay_client *client, const char *format, ...) if (message) { snprintf (message, length, "%s\r\n", str_message); - relay_client_send (client, message, strlen (message), NULL); + relay_client_send (client, RELAY_CLIENT_MSG_STANDARD, + message, strlen (message), NULL); free (message); } number++; -- cgit v1.2.3