diff options
author | TingPing <TingPing@users.noreply.github.com> | 2013-09-23 12:45:08 -0400 |
---|---|---|
committer | TingPing <TingPing@users.noreply.github.com> | 2013-09-23 12:45:08 -0400 |
commit | 145ceba1240792f2488dea6cec83f295b6a7e591 (patch) | |
tree | 8af9ed8ba713d04859681e112b910f4e427e3dae /src | |
parent | 90ea691b750e7cdac0b106857f50eb4002dec56b (diff) |
Strip trailing space from CAP REQ
Mentioned in #770
Diffstat (limited to 'src')
-rw-r--r-- | src/common/inbound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c index fca5f071..097cb118 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -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) { |