From a212cf41e8265f166b1b9b20f60d4936b4544edf Mon Sep 17 00:00:00 2001
From: Sylvain MARET <maret2016@perso.iiens.net>
Date: Wed, 5 Jun 2019 14:51:00 +0200
Subject: [PATCH] i'm dumb

---
 putsch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/putsch.py b/putsch.py
index e85dcbc..d327a1a 100644
--- a/putsch.py
+++ b/putsch.py
@@ -167,7 +167,7 @@ class Boooob(ircbot.SingleServerIRCBot):
                             serv.privmsg(personne, "Pense a rejoindre le chann #lg_putsch_loups !")
                             serv.invite(personne, "#lg_putsch_loups")
                         else:
-		            if role == "villageois":
+		            if f == "villageois":
                             	self.villageois.append(f)
                             setattr(self, f, personne)
                         self.phase2 = self.phase2 + 1
-- 
GitLab