]> gitweb.pimeys.fr Git - bots/basile.git/commitdiff
typo
authorVincent Le Gallic <legallic@crans.org>
Tue, 1 May 2012 22:22:25 +0000 (00:22 +0200)
committerVincent Le Gallic <legallic@crans.org>
Tue, 1 May 2012 22:22:25 +0000 (00:22 +0200)
basile.py

index 0dd4f7c62383fb8d9454346c61d15296f6fee4fc..ab2c7119d8ac70e4f9d4ed4dfc2b72bab88b3629 100755 (executable)
--- 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]":