X-Git-Url: https://git.donarmstrong.com/?p=infobot.git;a=blobdiff_plain;f=src%2FMisc.pl;h=9545f6c6f4c54c5fd1e3dbb384d248e30ae3b852;hp=e999a2fdcd1978b57c940b09bacd83c28b977dcf;hb=01e3f389ace1cda8aad46fbb00f5cdb0d9078aaa;hpb=2e4dac0c935be61cdf25bfd88ce01c3bc5845229 diff --git a/src/Misc.pl b/src/Misc.pl index e999a2f..9545f6c 100644 --- a/src/Misc.pl +++ b/src/Misc.pl @@ -688,8 +688,8 @@ sub closeStats { 'stats', 'counter', { - nick => $type, - type => 'cmdstats', + 'nick' => $type, + 'type' => 'cmdstats', } ); my $z = 0; @@ -699,11 +699,13 @@ sub closeStats { &sqlSet( 'stats', - { 'nick' => $type }, { - type => 'cmdstats', - 'time' => time(), - counter => $i, + 'nick' => $type, + 'type' => 'cmdstats', + }, + { + 'time' => time(), + 'counter' => $i, } ); }