debug quote del admin

This commit is contained in:
nemesis 2018-07-22 23:32:02 +02:00
parent 412aec811f
commit 84505d2d24

View file

@ -997,9 +997,9 @@ def quote(room,event):
reponse = reponse + cle[0] + " / " + str(cle[1]) + " : " + valeur + "\n" reponse = reponse + cle[0] + " / " + str(cle[1]) + " : " + valeur + "\n"
salon.send_text(reponse) salon.send_text(reponse)
elif (len(args) > 1 and args[0] == "del"): elif (len(args) > 1 and args[0] == "del"):
salon = verifPMRoom(room,event)
if (event['sender'] in admins): if (event['sender'] in admins):
id = args[1] id = args[1]
salon = verifPMRoom(room,event)
reponse = "Voici la citation supprimée : \n" reponse = "Voici la citation supprimée : \n"
for rid,fame in quotes.items(): for rid,fame in quotes.items():
for cle,valeur in fame.items(): for cle,valeur in fame.items():