From 5a9dd4486fabc6fe5a2f8f385362195636693e7e Mon Sep 17 00:00:00 2001 From: Dennis Kaarsemaker Date: Fri, 20 Oct 2006 16:55:13 +0200 Subject: [PATCH] Yes, we reply --- Bugtracker/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Bugtracker/plugin.py b/Bugtracker/plugin.py index 45d4b21..c0bee16 100644 --- a/Bugtracker/plugin.py +++ b/Bugtracker/plugin.py @@ -243,6 +243,7 @@ class Bugtracker(callbacks.PluginRegexp): r"""\b(?P(([a-z]+)?\s+bugs?|[a-z]+))\s+#?(?P\d+(?!\d*\.\d+)((,|\s*(and|en|et|und|ir))\s*#?\d+(?!\d*\.\d+))*)""" if msg.args[0][0] == '#' and not self.registryValue('bugSnarfer', msg.args[0]): return + msg.repliedTo = True # Don't double on commands s = str(msg).split(':')[2] if s[0] in str(conf.supybot.reply.whenAddressedBy.chars): @@ -311,6 +312,7 @@ class Bugtracker(callbacks.PluginRegexp): "(?Phttps?://.*?)(show_bug.cgi\?id=|bugreport.cgi\?bug=|(bugs|\+bug)/|/ticket/|tracker/.*aid=)(?P\d+)(?P&group_id=\d+&at_id=\d+)?" if msg.args[0][0] == '#' and not self.registryValue('bugSnarfer', msg.args[0]): return + msg.repliedTo = True try: tracker = self.get_tracker(match.group(0),match.group('sfurl')) if not tracker: