From 38c6b9dbb0acf1898aab95d75610f6c599b18f93 Mon Sep 17 00:00:00 2001 From: Jon Hermes Date: Tue, 31 Aug 2010 17:16:59 -0500 Subject: [PATCH] users with 'r0' in their name don't spam our channel anymore --- bot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 8b12829..1c9b465 100755 --- a/bot.py +++ b/bot.py @@ -11,7 +11,10 @@ from twisted.web.error import Error TICKET_RE = re.compile(r'#(\d+)') -COMMIT_RE = re.compile(r'r(\d+)') +COMMIT_RE = re.compile(r'(?:^|(\s))r(\d+)') + +# This was the original. It was broken. +# COMMIT_RE = re.compile(r'r(\d+)') LOG_BLACKLIST = [ 'evn',