From 869099dcc159b0d3f17be2fd6e5179e0c3017380 Mon Sep 17 00:00:00 2001 From: dms Date: Tue, 30 Jan 2001 13:19:30 +0000 Subject: [PATCH] support for new dynamic configuration infrastructure git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@276 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Modules/Debian.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blootbot/src/Modules/Debian.pl b/blootbot/src/Modules/Debian.pl index 9eea21a..640976e 100644 --- a/blootbot/src/Modules/Debian.pl +++ b/blootbot/src/Modules/Debian.pl @@ -66,7 +66,8 @@ my %urlpackages = ( # Usage: &DebianDownload(%hash); sub DebianDownload { my ($dist, %urls) = @_; - my $refresh = $::param{'debianRefreshInterval'} * 60 * 60 * 24; + my $refresh = &::getChanConfDefault("debianRefreshInterval", + undef, 7) * 60 * 60 * 24; my $bad = 0; my $good = 0; -- 2.39.5