Skip to content

Commit e5519b3

Browse files
authored
Merge pull request CloudBotIRC#156 from linuxdaemon/gonzobot+fix-bef-bang
Fix score updating in bef/bang
2 parents 1b18730 + e415b3a commit e5519b3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

plugins/duckhunt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,6 @@ def update_score(nick, chan, db, conn, shoot=0, friend=0):
280280
.where(table.c.chan == chan.lower())
281281
.where(table.c.name == nick.lower())).fetchone()
282282
if score:
283-
score = score[0]
284-
score += 1
285283
dbupdate(nick, chan, db, conn, score[0] + shoot, score[1] + friend)
286284
else:
287285
dbadd_entry(nick, chan, db, conn, shoot, friend)

0 commit comments

Comments
 (0)