Revert crap
This commit is contained in:
@ -243,7 +243,6 @@ class Bugtracker(callbacks.PluginRegexp):
|
||||
r"""\b(?P<bt>(([a-z]+)?\s+bugs?|[a-z]+))\s+#?(?P<bug>\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):
|
||||
@ -312,7 +311,6 @@ class Bugtracker(callbacks.PluginRegexp):
|
||||
"(?P<tracker>https?://.*?)(show_bug.cgi\?id=|bugreport.cgi\?bug=|(bugs|\+bug)/|/ticket/|tracker/.*aid=)(?P<bug>\d+)(?P<sfurl>&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:
|
||||
|
Reference in New Issue
Block a user