hirc

IRC client
Log | Files | Refs

commit 866c4e56f467b9de3fd984255782c9e990319037
parent 332a0484f1c5052a4a44e316f5df2165789e440f
Author: hhvn <dev@hhvn.uk>
Date:   Thu, 10 Mar 2022 20:12:08 +0000

Send properly parameterized QUIT message

Diffstat:
Msrc/serv.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/serv.c b/src/serv.c @@ -351,7 +351,7 @@ serv_disconnect(struct Server *server, int reconnect, char *msg) { int ret; if (msg) - ircprintf(server, "QUIT %s\r\n", msg); + ircprintf(server, "QUIT :%s\r\n", msg); #ifdef TLS if (server->tls) { if (server->tls_ctx) {