diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-02-06 14:08:20 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-02-06 14:08:20 +0100 |
commit | 9263634d2e0f9eb5fcc56879daf68c851d79a5e6 (patch) | |
tree | a626867f746f72e3decda13be20bafc95aa04f75 /src/plugins/relay/irc/relay-irc.c | |
parent | 060d68bb8d9be70663c9ca4a8115c9c3d9df5729 (diff) | |
download | weechat-9263634d2e0f9eb5fcc56879daf68c851d79a5e6.zip |
relay: fix websocket frame decoding, answer a PONG to PING (closes #675)
Diffstat (limited to 'src/plugins/relay/irc/relay-irc.c')
-rw-r--r-- | src/plugins/relay/irc/relay-irc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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++; |