X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FUserExtra.pl;h=12ec9c324a2f6729c5381cf2341b602f9da802c5;hb=27ceee1b2c4749eac117ad6d128e723f41f5ecbb;hp=acf40dd61b8e4a224a8d36e9a5ec9c68db0112ed;hpb=1676c56374de2fa4a9cc5ae608a5e70870426247;p=infobot.git diff --git a/src/UserExtra.pl b/src/UserExtra.pl index acf40dd..12ec9c3 100644 --- a/src/UserExtra.pl +++ b/src/UserExtra.pl @@ -184,7 +184,7 @@ sub factinfo { sub factstats { my $type = shift(@_); - &Forker("factoids", sub { + &Forker("Factoids", sub { &performStrictReply( &CmdFactStats($type) ); } ); } @@ -711,23 +711,6 @@ sub userCommands { ); 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++