sxirc

X11 IRC client using libsx (based on Athena)
git clone git://bvnf.space/sxirc.git
Log | Files | Refs

commit bca09f4309919b3e94c12ab335773c0eaccb5765
parent d9a3211df7a1365704c4fd1d06c0074aa41a2756
Author: aabacchus <ben@bvnf.space>
Date:   Tue, 29 Nov 2022 16:34:28 +0000

QUIT and close on quit

Diffstat:
Msxirc.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sxirc.c b/sxirc.c @@ -77,6 +77,8 @@ string_cb(Widget w, char *s, void *data) { void quit(Widget w, void *d) { + sock_write(sfd, "QUIT :nähdään\r\n"); + close(sfd); exit(0); }