]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Factoids.pl
maxListReply* now by channel
[infobot.git] / src / Modules / Factoids.pl
index 50a98ea3e034c55628a69781a6491643152d6d69..56639afcde8de975ebe9195505b1ac9cb725baf5 100644 (file)
@@ -739,7 +739,7 @@ sub CmdFactStats {
 
 sub CmdListAuth {
     my ($query) = @_;
-    my $maxshow = $::param{'maxListReplyCount'} || 10;
+    my $maxshow = &::getChanConfDefault('maxListReplyCount', 15);
     my @list = &searchTable("factoids","factoid_key", "created_by", "^$query!");
     @list=grep(!/\#DEL\#$/,@list) if (scalar(@list) > $maxshow);