sub factstats {
my $type = shift(@_);
- &Forker("factoids", sub {
+ &Forker("Factoids", sub {
&performStrictReply( &CmdFactStats($type) );
} );
}
);
return;
-
- my %hash = &sqlSelectColHash("stats", "nick,counter",
- { type => "cmdstats" }, 1);
-# ORDER won't be retained in a hash
-# " ORDER BY counter DESC", 1);
-
-if (0) {
- foreach (keys %hash) {
- my $i = $_;
- foreach (keys %{ $hash{$i} }) {
- &DEBUG("cmdstats: $hash{$i}{$_} = $_");
- }
- }
- &DEBUG("end of cmdstats.");
-}
-
- return;
}
# wantNick. xk++