Fix compatibility with Python 3.2 (no list.clear())
This commit is contained in:
parent
f849eb35c2
commit
4e53a3556b
@ -2398,7 +2398,7 @@ def del_player(cli, nick, forced_death = False, devoice = True, end_game = True,
|
|||||||
count.remove(None)
|
count.remove(None)
|
||||||
if not count:
|
if not count:
|
||||||
mass_mode(cli, cmode, [])
|
mass_mode(cli, cmode, [])
|
||||||
cmode.clear()
|
del cmode[:] # clear list
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user