Strip trailing space from CAP REQ

Mentioned in #770
This commit is contained in:
TingPing 2013-09-23 12:45:08 -04:00
parent 90ea691b75
commit 145ceba124
1 changed files with 1 additions and 1 deletions

View File

@ -1708,7 +1708,7 @@ inbound_cap_ls (server *serv, char *nick, char *extensions_str,
EMIT_SIGNAL_TIMESTAMP (XP_TE_CAPREQ, serv->server_session,
buffer + 9, NULL, NULL, NULL, 0,
tags_data->timestamp);
tcp_sendf (serv, "%s\r\n", buffer);
tcp_sendf (serv, "%s\r\n", g_strchomp (buffer));
}
if (!want_sasl)
{