Fix the bot telling you you haven't voted after retracting abstain
Reported by @Vgr255 on IRC.
This commit is contained in:
parent
b2e0a6b1a3
commit
6dc4f4859f
@ -3114,6 +3114,7 @@ def retract(cli, nick, chann_, rest):
|
||||
var.LOGGER.logBare(nick, "RETRACT")
|
||||
var.LOGGER.logMessage("{0}'s vote was retracted.".format(nick))
|
||||
var.LAST_VOTES = None # reset
|
||||
return
|
||||
|
||||
candidates = var.VOTES.keys()
|
||||
for voter in list(candidates):
|
||||
|
Loading…
Reference in New Issue
Block a user