diff options
author | LemonBoy <thatlemon@gmail.com> | 2015-05-15 16:42:51 +0200 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2015-05-15 17:07:30 +0200 |
commit | 16c71cf1fbc1e7987fdde821813005b87237e951 (patch) | |
tree | d5af65015c8f3acd5c9c0fe3ac3d8950ebf85637 /src/irc/dcc | |
parent | c122a2a226363114e11f32072395e2f06ad6a450 (diff) | |
download | irssi-16c71cf1fbc1e7987fdde821813005b87237e951.zip |
Implement CHANTYPES support
Diffstat (limited to 'src/irc/dcc')
-rw-r--r-- | src/irc/dcc/dcc-autoget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-autoget.c b/src/irc/dcc/dcc-autoget.c index 38170c56..de23a5d1 100644 --- a/src/irc/dcc/dcc-autoget.c +++ b/src/irc/dcc/dcc-autoget.c @@ -51,7 +51,7 @@ static void sig_dcc_request(GET_DCC_REC *dcc, const char *nickaddr) /* Unless specifically said in dcc_autoget_masks, don't do autogets sent to channels. */ - if (*masks == '\0' && dcc->target != NULL && ischannel(*dcc->target)) + if (*masks == '\0' && dcc->target != NULL && server_ischannel(SERVER(dcc->server), dcc->target)) return; /* don't autoget files beginning with a dot, if download dir is |