summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-04-27 21:09:39 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-04-27 21:09:39 +0000
commit4b45f190a25b6107e662e68515c95f10ae30742e (patch)
treea3a3cca7f27a77b2412a182c90029b1a1e33dac2 /src/fe-common
parent18143d6bd844354185900893aa544a2659795717 (diff)
downloadirssi-4b45f190a25b6107e662e68515c95f10ae30742e.zip
add temporary window bind if connection is lost with dcc chat.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2729 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-queries.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-common/core/fe-queries.c b/src/fe-common/core/fe-queries.c
index c8fac9ae..65fef3ef 100644
--- a/src/fe-common/core/fe-queries.c
+++ b/src/fe-common/core/fe-queries.c
@@ -98,6 +98,10 @@ static void signal_query_destroyed(QUERY_REC *query)
if (!query->unwanted)
window_auto_destroy(window);
+ else {
+ /* eg. connection lost to dcc chat */
+ window_bind_add(window, query->server->tag, query->name);
+ }
}
static void signal_query_server_changed(QUERY_REC *query)