summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/dcc
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-06-17 12:22:56 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-06-17 12:22:56 +0000
commit8ea24002690314d567ddd1677ba18c25d19b8771 (patch)
treeb46d7bf59884242df6f0544f74eb97d6b89c5cba /src/fe-common/irc/dcc
parent234e95ef94804493a3c75f957dbc6bf8af58c5b3 (diff)
downloadirssi-8ea24002690314d567ddd1677ba18c25d19b8771.zip
Added /SET reuse_unused_windows setting, default is OFF
If window_close_on_part is ON, we don't anymore close the window if we get kicked or connection gets lost. Also don't close DCC chat window if the other side disconnects. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@357 dbcabf3a-b0e7-0310-adc4-f8d773084564
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);
}
}