summary refs log tree commit diff
path: root/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/irc.c b/irc.c
index 1d5d914..a8dc2dd 100644
--- a/irc.c
+++ b/irc.c
@@ -133,8 +133,7 @@ retry:
 	if (read < 0) errx(EX_IOERR, "tls_read: %s", tls_error(client));
 	if (!read) {
 		if (!self.quit) errx(EX_PROTOCOL, "unexpected eof");
-		uiExit();
-		exit(EX_OK);
+		uiExit(EX_OK);
 	}
 	len += read;