adjust_karma now increments properly
This commit is contained in:
parent
57a2f68564
commit
5f9aed1162
@ -287,7 +287,8 @@ sub adjust_karma {
|
||||
|
||||
my $karma = $self->connection->notes('karma') || 0;
|
||||
$karma += $value;
|
||||
$self->connection->notes('karma', $value);
|
||||
$self->log(LOGDEBUG, "karma adjust: $value ($karma)");
|
||||
$self->connection->notes('karma', $karma);
|
||||
return $value;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user