]> gitweb.pimeys.fr Git - bots/basile.git/commitdiff
fucking espace manquant
authorVincent Le Gallic <legallic@crans.org>
Thu, 10 May 2012 23:24:02 +0000 (01:24 +0200)
committerVincent Le Gallic <legallic@crans.org>
Thu, 10 May 2012 23:24:02 +0000 (01:24 +0200)
basile.py

index fdefe8dda02bef8c8b7d8405e0ce034fb6345ee4..b881878aaf1434fbfccb95ca662703bbd0c6d1f9 100755 (executable)
--- a/basile.py
+++ b/basile.py
@@ -231,7 +231,7 @@ def is_tamere(chain):
     return is_something(chain,config_tamere)
 def is_action_trigger(chain,pseudo):
     return is_something(chain,config_action_trigger,avant=u"^",
-                            apres="([a-z]*ment)? %s($|\.| |,|;).*"%(pseudo))
+                            apres="( [a-z]*ment)? %s($|\.| |,|;).*"%(pseudo))
 def is_pan(chain):
     return re.match(u"^(pan|bim|bang)$",unicode(chain,"utf8").lower().strip())