summary refs log tree commit diff
path: root/irc.c
diff options
context:
space:
mode:
authorCurtis McEnroe2019-02-22 14:11:50 -0500
committerCurtis McEnroe2019-02-22 14:11:50 -0500
commite20c64d5d72e341abf8dc3cb38d7cfec371faafc (patch)
tree96890088e4645416c058ab3504feb63c1b16d9da /irc.c
parentf3db938ded8210956d492d7c42df1793893e5cbe (diff)
Reorganize UI code for the umpteenth time
It's actually in a good state now, I think.
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;