]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Factoids.pl
news: can make news compulsory (chanset +newsNotifyAll)
[infobot.git] / src / Modules / Factoids.pl
index d6c20b4a1e382f1480e3c04136099435186303b6..46cbf8d0370e24b14650e2c4c1f6f77e99e900b1 100644 (file)
@@ -316,6 +316,11 @@ sub CmdFactStats {
            $match++ if ($val =~ /\s{3,}/);
            next unless ($match);
 
+           my $v = &getFactoid($val);
+           if (defined $v) {
+               &DEBUG("key $key => $val => $v");
+           }
+
            $key =~ s/\,/\037\,\037/g;
            push(@list, $key);
        }