]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/Modules/Search.pl
explicit $chan for getChanConfDefault
[infobot.git] / blootbot / src / Modules / Search.pl
index 9f3ab772c71ce65dcabca7b0f5d35a21a52fa34d..4a9c0829274a4550a959caa007e04ce1084d08f6 100644 (file)
@@ -13,7 +13,7 @@ sub Search {
     my ($type, $str) = @_;
     my $start_time = &::timeget();
     my @list;
-    my $maxshow = &::getChanConfDefault('maxListReplyCount', 15);
+    my $maxshow = &::getChanConfDefault('maxListReplyCount', 15, $chan);
 
     $type =~ s/s$//;   # nice work-around.