summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-04 14:58:14 -0500
committerJune McEnroe <june@causal.agency>2018-12-04 14:58:14 -0500
commite01b03c96383b9e15fe1a2929c4d19869121d0a1 (patch)
tree225e3aeda7c1f34c32810f60c53e522cebdcb1b0 /input.c
parentAdd -a auth option for unimplemented SASL (diff)
downloadcatgirl-e01b03c96383b9e15fe1a2929c4d19869121d0a1.tar.gz
catgirl-e01b03c96383b9e15fe1a2929c4d19869121d0a1.zip
Revert half-working reconnecting stuff
Diffstat (limited to '')
-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) {