Added no_connect to SERVER_CONNECT_REC, also exported a few other variables

to perl.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3042 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-12-04 11:39:31 +00:00 committed by cras
commit 27f54e286f
3 changed files with 11 additions and 0 deletions

View file

@ -178,6 +178,9 @@ static void server_real_connect(SERVER_REC *server, IPADDR *ip,
signal_emit("server connecting", 2, server, ip);
if (server->connrec->no_connect)
return;
if (ip != NULL) {
own_ip = ip == NULL ? NULL :
(IPADDR_IS_V6(ip) ? server->connrec->own_ip6 :