Permalink
Browse files

users with 'r0' in their name don't spam our channel anymore

  • Loading branch information...
1 parent 07d8442 commit 38c6b9dbb0acf1898aab95d75610f6c599b18f93 Jon Hermes committed Aug 31, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 bot.py
View
5 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',

0 comments on commit 38c6b9d

Please sign in to comment.