mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 23:52:22 +02:00
Remove dcc_queue_add_passive, use instead another argument in dcc_queue_add to initialize rec->passive.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4407 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b9cf14359a
commit
7484c8b373
3 changed files with 5 additions and 36 deletions
|
|
@ -149,12 +149,8 @@ static void dcc_send_add(const char *servertag, CHAT_DCC_REC *chat,
|
|||
}
|
||||
}
|
||||
|
||||
if (!passive)
|
||||
dcc_queue_add(queue, add_mode, nick,
|
||||
fname, servertag, chat);
|
||||
else
|
||||
dcc_queue_add_passive(queue, add_mode, nick,
|
||||
fname, servertag, chat);
|
||||
dcc_queue_add(queue, add_mode, nick,
|
||||
fname, servertag, chat, passive);
|
||||
files++;
|
||||
g_free(fname);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue