$karma--;
}
- &sqlReplace("stats", {
+ &sqlSet("stats", {'nick' => $term}, {
nick => $term,
type => "karma",
'time' => time(),
}
}
- if (&IsParam("factoids") and $param{'DBType'} =~ /^(mysql|sqlite|pgsql)/i) {
+ if (&IsParam("factoids") and $param{'DBType'} =~ /^(mysql|sqlite(2)?|pgsql)$/i) {
&FactoidStuff();
} elsif ($param{'DBType'} =~ /^none$/i) {
return "NO FACTOIDS.";