diff options
author | Timo Sirainen <cras@irssi.org> | 2002-05-17 12:59:39 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-05-17 12:59:39 +0000 |
commit | c8187a9a76c64ceab07298022b4447b5b82a03de (patch) | |
tree | 7b2c56d997cbd99ef21c2d46aa47d00125e4c4a8 | |
parent | e6aa8415efdd23cf303410c9b6c75d2a46d242bf (diff) | |
download | irssi-c8187a9a76c64ceab07298022b4447b5b82a03de.zip |
crashfix for previous ~/. kludge
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2801 dbcabf3a-b0e7-0310-adc4-f8d773084564
-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; |