summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/dcc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/irc/dcc')
-rw-r--r--src/fe-common/irc/dcc/fe-dcc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/irc/dcc/fe-dcc.c b/src/fe-common/irc/dcc/fe-dcc.c
index 0bc08fb9..077fb5f7 100644
--- a/src/fe-common/irc/dcc/fe-dcc.c
+++ b/src/fe-common/irc/dcc/fe-dcc.c
@@ -264,6 +264,7 @@ static void sig_dcc_destroyed(DCC_REC *dcc)
if (query != NULL) {
/* DCC chat closed, close the query with it. */
+ if (dcc->connection_lost) query->unwanted = TRUE;
query_destroy(query);
}
}