diff --git a/putsch.py b/putsch.py index e85dcbca45ff941960ac4a1d021032ad3166b0a9..d327a1ab72d217b7e420cd32fb55cfc225fd6a4d 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