summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-04 15:56:10 -0500
committerJune McEnroe <june@causal.agency>2018-12-04 15:56:10 -0500
commit638be4e7757a7e7fcb52332461b5b1b5330a6771 (patch)
tree14190aec10060e1d8b9a3af6bc95b56781590cda /input.c
parentSend only SIGHUP in sandman (diff)
downloadcatgirl-638be4e7757a7e7fcb52332461b5b1b5330a6771.tar.gz
catgirl-638be4e7757a7e7fcb52332461b5b1b5330a6771.zip
Show error if disconnected unintentionally
Diffstat (limited to 'input.c')
-rw-r--r--input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input.c b/input.c
index cc52928..7093363 100644
--- a/input.c
+++ b/input.c
@@ -106,6 +106,7 @@ static void inputTopic(struct Tag tag, char *params) {
 static void inputQuit(struct Tag tag, char *params) {
 	(void)tag;
 	ircFmt("QUIT :%s\r\n", params ? params : "Goodbye");
+	self.quit = true;
 }
 
 static void inputURL(struct Tag tag, char *params) {