From: Vincent Le Gallic Date: Tue, 1 May 2012 22:22:25 +0000 (+0200) Subject: typo X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=3ebf662a09531ecd71728fc0b9e74ec4ba8a9a7f;p=bots%2Fbasile.git typo --- diff --git a/basile.py b/basile.py index 0dd4f7c..ab2c711 100755 --- a/basile.py +++ b/basile.py @@ -675,8 +675,8 @@ class Basile(ircbot.SingleServerIRCBot): else: serv.privmsg(canal,"%s: Je ne connais pas ton pseudo note."%(auteur)) log(self.serveur,canal,auteur,message+"[unknown]") - elif re.match("!?(pain au chocolat|chocolatine)",message.lower()) - and not canal in self.quiet_channels: + elif (re.match("!?(pain au chocolat|chocolatine)",message.lower()) + and not canal in self.quiet_channels): serv.action(canal,"sert un pain au chocolat à %s"%(auteur)) elif re.match("!?manzana",message.lower()) and not canal in self.quiet_channels: if auteur=="[20-100]":