]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Search.pl
maxListReply* now by channel
[infobot.git] / src / Modules / Search.pl
index 01a5ff0d9a539797393d6bffe4218db5cfa94153..9f3ab772c71ce65dcabca7b0f5d35a21a52fa34d 100644 (file)
@@ -13,7 +13,7 @@ sub Search {
     my ($type, $str) = @_;
     my $start_time = &::timeget();
     my @list;
-    my $maxshow = $::param{'maxListReplyCount'} || 10;
+    my $maxshow = &::getChanConfDefault('maxListReplyCount', 15);
 
     $type =~ s/s$//;   # nice work-around.