adjust_karma now increments properly

This commit is contained in:
Matt Simerson 2013-03-23 00:51:00 -04:00
parent c0b36c5cb4
commit 9ed3843b53

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;
}; };