From 3c0400cb344f218b19da63682c79b013c1a546c0 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Tue, 1 May 2012 20:11:24 +0200 Subject: [PATCH] "Basile: !qqc" aussi valide que "Basile: qqc" --- basile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basile.py b/basile.py index 6e39914..55c7f31 100755 --- a/basile.py +++ b/basile.py @@ -677,7 +677,7 @@ class Basile(ircbot.SingleServerIRCBot): log(self.serveur,canal,auteur,message+"[unknown]") elif message in ["pain au chocolat","chocolatine"] 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: + elif re.match("!?manzana",message.lower()) and not canal in self.quiet_channels: if auteur=="[20-100]": serv.action(canal,"sert une bouteille de manzana à %s"%(auteur)) else: -- 2.39.2