diff options
author | Timo Sirainen <cras@irssi.org> | 2004-03-23 22:06:41 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-03-23 22:06:41 +0000 |
commit | af4bcb70f2634b8917166e948e9d631ad3b5cccd (patch) | |
tree | 28cfa9891aedd97ac1f73c1a2501cccba643bd20 /src/irc/dcc/dcc.c | |
parent | 2a12dfb9d00a6196e071c1e9a965e6e11aa46471 (diff) | |
download | irssi-af4bcb70f2634b8917166e948e9d631ad3b5cccd.zip |
Passive DCC support by Francesco Fracassi (francesco.f at openssl.it)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3236 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/dcc/dcc.c')
-rw-r--r-- | src/irc/dcc/dcc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c index b66db5f1..ddf31b4f 100644 --- a/src/irc/dcc/dcc.c +++ b/src/irc/dcc/dcc.c @@ -92,7 +92,9 @@ void dcc_init_rec(DCC_REC *dcc, IRC_SERVER_REC *server, CHAT_DCC_REC *chat, dcc->servertag = server != NULL ? g_strdup(server->tag) : (chat == NULL ? NULL : g_strdup(chat->servertag)); - + + dcc->pasv_id = -1; /* Not a passive DCC */ + dcc_conns = g_slist_append(dcc_conns, dcc); signal_emit("dcc created", 1, dcc); } |