diff options
-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 bb3ac6d9..459f2a75 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) /* don't autoget files beginning with a dot, if download dir is our home dir (stupid kludge for stupid people) */ - if (*dcc->file == '.' && + if (*dcc->arg == '.' && strcmp(settings_get_str("dcc_download_path"), "~") == 0) return; |