mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
crashfix for previous ~/. kludge
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2801 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e6aa8415ef
commit
c8187a9a76
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user