]> git.donarmstrong.com Git - infobot.git/commitdiff
$::chan
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 29 Mar 2005 19:09:58 +0000 (19:09 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 29 Mar 2005 19:09:58 +0000 (19:09 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1211 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/Debian.pl
src/Modules/Search.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. ;-)
index 4a9c0829274a4550a959caa007e04ce1084d08f6..a71bd9c70a0b5d01450b134ce77235b83f0d09e1 100644 (file)
@@ -13,7 +13,7 @@ sub Search {
     my ($type, $str) = @_;
     my $start_time = &::timeget();
     my @list;
-    my $maxshow = &::getChanConfDefault('maxListReplyCount', 15, $chan);
+    my $maxshow = &::getChanConfDefault('maxListReplyCount', 15, $::chan);
 
     $type =~ s/s$//;   # nice work-around.