]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Search.pl
are we ops or not?
[infobot.git] / src / Modules / Search.pl
index 01a5ff0d9a539797393d6bffe4218db5cfa94153..a71bd9c70a0b5d01450b134ce77235b83f0d09e1 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, $::chan);
 
     $type =~ s/s$//;   # nice work-around.