diff options
author | Timo Sirainen <cras@irssi.org> | 2002-05-10 18:32:50 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-05-10 18:32:50 +0000 |
commit | 1ae2d31cc87539d3b5c745261977208e1861e3cb (patch) | |
tree | 9674c60755af1d0ccf9dd1d86cb583880307428a /src/fe-common/core/fe-queries.c | |
parent | 903ca7b7578172a818ebf2b0fae766e37041b619 (diff) | |
download | irssi-1ae2d31cc87539d3b5c745261977208e1861e3cb.zip |
window_bind_add() the query->server_tag, not server->tag as server can be
null and crash.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2766 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/fe-queries.c')
-rw-r--r-- | src/fe-common/core/fe-queries.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-queries.c b/src/fe-common/core/fe-queries.c index c6bfaef2..93f13040 100644 --- a/src/fe-common/core/fe-queries.c +++ b/src/fe-common/core/fe-queries.c @@ -100,7 +100,7 @@ static void signal_query_destroyed(QUERY_REC *query) window_auto_destroy(window); else { /* eg. connection lost to dcc chat */ - window_bind_add(window, query->server->tag, query->name); + window_bind_add(window, query->server_tag, query->name); } } |