]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/Modules/Debian.pl
$::chan
[infobot.git] / blootbot / src / Modules / Debian.pl
index f7e91c067f196414d2c8dccee3446f4206859926..faf7ee2ed9e923668feaca091359bf63dd87f5e3 100644 (file)
@@ -12,7 +12,7 @@ no strict 'refs'; # FIXME: dstats aborts if set
 
 my $announce   = 0;
 my $defaultdist        = 'sid';
-my $refresh = &::getChanConfDefault('debianRefreshInterval', 7, $chan) * 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. ;-)