]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Search.pl
explicit $chan for getChanConfDefault
[infobot.git] / src / Modules / Search.pl
index 01a5ff0d9a539797393d6bffe4218db5cfa94153..4a9c0829274a4550a959caa007e04ce1084d08f6 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.