mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
DCC cleanups - split DCC_REC to CHAT|GET|SEND_DCC_RECs. Plugins should
now be able to add whatever new DCC types. Nick changes affect DCC chats. /WHOIS without parameters works properly in DCC CHAT queries. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1194 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
118f9a11eb
commit
e4f7d55ce9
20 changed files with 1398 additions and 912 deletions
|
|
@ -25,15 +25,14 @@
|
|||
|
||||
#include "dcc-get.h"
|
||||
|
||||
static void sig_dcc_request(DCC_REC *dcc, const char *nickaddr)
|
||||
static void sig_dcc_request(GET_DCC_REC *dcc, const char *nickaddr)
|
||||
{
|
||||
struct stat statbuf;
|
||||
const char *masks;
|
||||
char *str, *file;
|
||||
int max_size;
|
||||
|
||||
g_return_if_fail(dcc != NULL);
|
||||
if (dcc->type != DCC_TYPE_GET) return;
|
||||
if (!IS_DCC_GET(dcc)) return;
|
||||
|
||||
/* check if we want to autoget file offer */
|
||||
if (!settings_get_bool("dcc_autoget") &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue