debug modo vide

This commit is contained in:
Nemesis 2018-07-25 18:42:45 +02:00
parent 7fe619667e
commit 67b5e68eab

View file

@ -1293,7 +1293,7 @@ def modo(room,event): # Definition d'un moderateur
args.pop(0) args.pop(0)
candidat = " ".join(args) candidat = " ".join(args)
if (candidat in lmod): if (candidat in lmod):
place = index(candidat,lmod) place = lmod.index(candidat)
del lmod[place] del lmod[place]
modos[room.room_id] = lmod modos[room.room_id] = lmod
room.send_text(candidat + " n'est plus moderateur.") room.send_text(candidat + " n'est plus moderateur.")