Minor code style fixes to previous commit
Making this a separate commit to avoid invalidating the PGP signature, though it doesn't really matter for lykos anyway.
This commit is contained in:
parent
a6c6236e4f
commit
684abf58b4
@ -3063,9 +3063,9 @@ def del_player(cli, nick, forced_death=False, devoice=True, end_game=True, death
|
|||||||
var.START_VOTES.discard(nick)
|
var.START_VOTES.discard(nick)
|
||||||
|
|
||||||
# Cancel the start vote timer if there are no votes left
|
# Cancel the start vote timer if there are no votes left
|
||||||
if len(var.START_VOTES) < 1 and 'start_votes' in var.TIMERS:
|
if not var.START_VOTES and "start_votes" in var.TIMERS:
|
||||||
var.TIMERS['start_votes'][0].cancel()
|
var.TIMERS["start_votes"][0].cancel()
|
||||||
del var.TIMERS['start_votes']
|
del var.TIMERS["start_votes"]
|
||||||
|
|
||||||
# Died during the joining process as a person
|
# Died during the joining process as a person
|
||||||
if var.AUTO_TOGGLE_MODES and nick in var.USERS and var.USERS[nick]["moded"]:
|
if var.AUTO_TOGGLE_MODES and nick in var.USERS and var.USERS[nick]["moded"]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user