From 3ebf662a09531ecd71728fc0b9e74ec4ba8a9a7f Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Wed, 2 May 2012 00:22:25 +0200 Subject: [PATCH] typo --- basile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]": -- 2.39.2