diff options
author | Timo Sirainen <cras@irssi.org> | 2002-09-15 01:04:40 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-09-15 01:04:40 +0000 |
commit | 74e9e265a5d6ddbb9450495c0904a9cd37b0be27 (patch) | |
tree | 8fd3b19f047314602e7db4d973e295f35f487c83 /src/fe-common/core | |
parent | bb2ed605e5c0cd7afc745972e10d5cd17a13e0cb (diff) | |
download | irssi-74e9e265a5d6ddbb9450495c0904a9cd37b0be27.zip |
when server connection was finished, it didn't move from connect_server to
active_server
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2924 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core')
-rw-r--r-- | src/fe-common/core/fe-windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-windows.c b/src/fe-common/core/fe-windows.c index 6d894b9a..24a32a51 100644 --- a/src/fe-common/core/fe-windows.c +++ b/src/fe-common/core/fe-windows.c @@ -168,7 +168,7 @@ void window_change_server(WINDOW_REC *window, void *server) if (server == NULL) { active = connect = NULL; - } else if (SERVER(server)->connected) { + } else if (g_slist_find(servers, server) != NULL) { active = server; connect = NULL; } else { |