]> git.donarmstrong.com Git - infobot.git/commitdiff
support for new dynamic configuration infrastructure
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 30 Jan 2001 13:19:30 +0000 (13:19 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 30 Jan 2001 13:19:30 +0000 (13:19 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@276 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/Debian.pl

index 9eea21a5d9aafedbe6c6df0caec0b74a617cc6a2..640976e7734e710b4d1ffa0a941f8a73a214270d 100644 (file)
@@ -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;