Added some magic to /SERVER - if there's no server to disconnect from

in active server, irssi checks if some reconnection should be used
instead.

If there's one reconnection, /SERVER always uses it.
If there's reconnection to same host, it will be used (+same port is
preferred)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@870 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-11-26 02:09:15 +00:00 committed by cras
commit 532d6c1e9d
3 changed files with 69 additions and 11 deletions

View file

@ -14,6 +14,8 @@ typedef struct {
extern GSList *reconnects;
void server_reconnect_destroy(RECONNECT_REC *rec, int free_conn);
void servers_reconnect_init(void);
void servers_reconnect_deinit(void);