From d0ef61ed41b0a54f6cbf3c30ce8ca9a1f1b4ffaa 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/blootbot@276 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Modules/Debian.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Modules/Debian.pl b/src/Modules/Debian.pl index 9eea21a..640976e 100644 --- a/src/Modules/Debian.pl +++ b/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