adjust_karma now increments properly

This commit is contained in:
Matt Simerson 2013-03-23 00:51:00 -04:00
parent 57a2f68564
commit 5f9aed1162

View File

@ -287,7 +287,8 @@ sub adjust_karma {
my $karma = $self->connection->notes('karma') || 0; my $karma = $self->connection->notes('karma') || 0;
$karma += $value; $karma += $value;
$self->connection->notes('karma', $value); $self->log(LOGDEBUG, "karma adjust: $value ($karma)");
$self->connection->notes('karma', $karma);
return $value; return $value;
}; };