]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/Modules/Debian.pl
explicit $chan for getChanConfDefault
[infobot.git] / blootbot / src / Modules / Debian.pl
index bd60b6691054ecd1f4ef4ea00b7849247919fb6a..f7e91c067f196414d2c8dccee3446f4206859926 100644 (file)
@@ -12,8 +12,7 @@ no strict 'refs'; # FIXME: dstats aborts if set
 
 my $announce   = 0;
 my $defaultdist        = 'sid';
-my $refresh = &::getChanConfDefault('debianRefreshInterval',7)
-                       * 60 * 60 * 24;
+my $refresh = &::getChanConfDefault('debianRefreshInterval', 7, $chan) * 60 * 60 * 24;
 my $debug      = 0;
 my $debian_dir = $::bot_state_dir . 'debian';
 my $country    = 'us'; # well .config it yourself then. ;-)