summaryrefslogtreecommitdiff
path: root/src/core/servers.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-12-04 11:39:31 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-12-04 11:39:31 +0000
commit27f54e286f2b5a1dadca14620a690df03eade5fa (patch)
tree1e6186d8b4942f9e79b4e83dc2a81f15743be024 /src/core/servers.c
parent45f86f7b5fc43b3efe5f3426312e5b9bb2288eb4 (diff)
downloadirssi-27f54e286f2b5a1dadca14620a690df03eade5fa.zip
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
Diffstat (limited to 'src/core/servers.c')
-rw-r--r--src/core/servers.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/servers.c b/src/core/servers.c
index f9ab791a..ad48b2e8 100644
--- a/src/core/servers.c
+++ b/src/core/servers.c
@@ -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 :