From b30ee169b201c54c75ee748b0565dc389630ef59 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 2 Oct 2016 20:31:05 +0200 Subject: [PATCH] amsodfikvnodefnbworitbjirnibton --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 915e9f6f..aa6e53c5 100644 --- a/bot.py +++ b/bot.py @@ -521,10 +521,10 @@ def match(): if len(cmd) > 2: del cmd[0] for name in cmd: - if username in royalgames: + if name in royalgames: if "steam" in royalgames[name.lower()]: tobematched.append(royalgames[name.lower()]["steam"]) - if len(tobematched) > 2: + if len(tobematched) > 1: m = list(steammatch.compare(tobematched)) # Prepara il messaggio tosend = str()