mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
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
This commit is contained in:
parent
903ca7b757
commit
1ae2d31cc8
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user