summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
authorCurtis McEnroe2018-12-04 15:56:10 -0500
committerCurtis McEnroe2018-12-04 15:56:10 -0500
commit638be4e7757a7e7fcb52332461b5b1b5330a6771 (patch)
tree14190aec10060e1d8b9a3af6bc95b56781590cda /input.c
parentb1427dd169fa27607a348cc6aae394c327ba562f (diff)
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) {