summary refs log tree commit diff stats
path: root/src/common/inbound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/inbound.c')
-rw-r--r--src/common/inbound.c2
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)
 	{