From: dms Date: Tue, 30 Jan 2001 13:19:30 +0000 (+0000) Subject: support for new dynamic configuration infrastructure X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d0ef61ed41b0a54f6cbf3c30ce8ca9a1f1b4ffaa;p=infobot.git 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 --- 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;