]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Factoids.pl
explicit $chan for getChanConfDefault
[infobot.git] / src / Modules / Factoids.pl
index bed96c57af512c59e411d2a3057ceef1c41edb56..9a2a8592bbce4c4a59b9bb4713fcdf80d547e5ef 100644 (file)
@@ -738,7 +738,7 @@ sub CmdFactStats {
 
 sub CmdListAuth {
     my ($query) = @_;
-    my $maxshow = &::getChanConfDefault('maxListReplyCount', 15);
+    my $maxshow = &::getChanConfDefault('maxListReplyCount', 15, $chan);
     my @list = &searchTable("factoids","factoid_key", "created_by", "^$query!");
     @list=grep(!/\#DEL\#$/,@list) if (scalar(@list) > $maxshow);