]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/Misc.pl
massive add-in for postgres support, contributed by troubled
[infobot.git] / blootbot / src / Misc.pl
index bf95b602216638c250c00dae377f83a13fe2f12d..c768a53e4879c589b75bd713c95d2bb8f2004996 100644 (file)
@@ -669,8 +669,7 @@ sub closeStats {
        $i      += $cmdstats{$type};
 
 
-       &sqlReplace("stats", {
-           nick        => $type,
+       &sqlSet("stats", {'nick' => $type}, {
            type        => "cmdstats",
            'time'      => time(),
            counter     => $i,