Fix compatibility with Python 3.2 (no list.clear())

This commit is contained in:
nyuszika7h 2015-06-25 17:53:06 +02:00
parent f849eb35c2
commit 4e53a3556b

View File

@ -2398,7 +2398,7 @@ def del_player(cli, nick, forced_death = False, devoice = True, end_game = True,
count.remove(None)
if not count:
mass_mode(cli, cmode, [])
cmode.clear()
del cmode[:] # clear list
return ret