correction plantage modo perte variable lmod : attention, raison de la perte non comprise

This commit is contained in:
nemesis 2025-11-03 23:09:28 +01:00
parent 7262d190ba
commit 3b74dbbc14

View file

@ -740,6 +740,8 @@ async def modo(room,message): # Definition d'un moderateur
lmod = modos.get(room.room_id)
except:
lmod = []
if (lmod is None):
lmod = []
if (sender in admins or sender in lmod or sender == bot.client.user_id):
args = texte.split()
args.pop(0)