Skip to content

Commit

Permalink
#144 dont penalize self-deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 13, 2020
1 parent baf9e1a commit 1314166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objects/karma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def legend
'2020-04-22': -40,
'2000-01-01': -25
},
query: 'SELECT t.* FROM project AS t WHERE author=$1 AND deleter IS NOT NULL',
query: 'SELECT t.* FROM project AS t WHERE author=$1 AND deleter IS NOT NULL AND deleter != author',
terms: 'each project you submitted, which was deleter later',
history: 'The project #[id]:[coordinates] you submitted was deleter',
bot: {
Expand All @@ -189,7 +189,7 @@ def legend
'2020-04-22': -25,
'2000-01-01': -50
},
query: 'SELECT * FROM review AS t WHERE author=$1 AND deleter IS NOT NULL',
query: 'SELECT * FROM review AS t WHERE author=$1 AND deleter IS NOT NULL AND deleter != author',
terms: 'each review you submitted, which was deleter later',
history: 'The review #[id] you submitted was deleter',
bot: {
Expand Down

0 comments on commit 1314166

Please sign in to comment.