summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
authorCurtis McEnroe2018-12-04 14:58:14 -0500
committerCurtis McEnroe2018-12-04 14:58:14 -0500
commite01b03c96383b9e15fe1a2929c4d19869121d0a1 (patch)
tree225e3aeda7c1f34c32810f60c53e522cebdcb1b0 /input.c
parent9106bd61fa1a7ecff0ea8d805295ed3d3aa68c20 (diff)
Revert half-working reconnecting stuff
Diffstat (limited to 'input.c')
-rw-r--r--input.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/input.c b/input.c
index d31172c..cc52928 100644
--- a/input.c
+++ b/input.c
@@ -105,12 +105,7 @@ static void inputTopic(struct Tag tag, char *params) {
 
 static void inputQuit(struct Tag tag, char *params) {
 	(void)tag;
-	if (params) {
-		ircFmt("QUIT :%s\r\n", params);
-	} else {
-		ircFmt("QUIT :Goodbye\r\n");
-	}
-	eventQuit();
+	ircFmt("QUIT :%s\r\n", params ? params : "Goodbye");
 }
 
 static void inputURL(struct Tag tag, char *params) {