From 23fc7feade0f163dfe9adccad19b2de21960f2cd Mon Sep 17 00:00:00 2001 From: timriker Date: Tue, 29 Mar 2005 19:09:58 +0000 Subject: [PATCH] $::chan git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1211 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Modules/Debian.pl | 2 +- blootbot/src/Modules/Search.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blootbot/src/Modules/Debian.pl b/blootbot/src/Modules/Debian.pl index f7e91c0..faf7ee2 100644 --- a/blootbot/src/Modules/Debian.pl +++ b/blootbot/src/Modules/Debian.pl @@ -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. ;-) diff --git a/blootbot/src/Modules/Search.pl b/blootbot/src/Modules/Search.pl index 4a9c082..a71bd9c 100644 --- a/blootbot/src/Modules/Search.pl +++ b/blootbot/src/Modules/Search.pl @@ -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. -- 2.39.2