From 30a4a2ab76ae8ef8f45975f15c84c9758421a080 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 2 Feb 2002 17:23:56 +0000 Subject: [PATCH] Ignore /SET dcc_autoresume if /SET dcc_autoget is OFF. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2371 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/dcc/dcc-autoget.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/irc/dcc/dcc-autoget.c b/src/irc/dcc/dcc-autoget.c index c80d86d2..0c5597fc 100644 --- a/src/irc/dcc/dcc-autoget.c +++ b/src/irc/dcc/dcc-autoget.c @@ -36,8 +36,7 @@ static void sig_dcc_request(GET_DCC_REC *dcc, const char *nickaddr) if (!IS_DCC_GET(dcc)) return; /* check if we want to autoget file offer */ - if (!settings_get_bool("dcc_autoget") && - !settings_get_bool("dcc_autoresume")) + if (!settings_get_bool("dcc_autoget")) return; /* check for lowports */