mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
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
This commit is contained in:
parent
bb2ed605e5
commit
74e9e265a5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user