summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-05-17 12:59:39 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-05-17 12:59:39 +0000
commitc8187a9a76c64ceab07298022b4447b5b82a03de (patch)
tree7b2c56d997cbd99ef21c2d46aa47d00125e4c4a8
parente6aa8415efdd23cf303410c9b6c75d2a46d242bf (diff)
downloadirssi-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.c2
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;