mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
qdb doesn't like to put ?'s in their URLs, so the snarfer wasn't catching qdb URLs properly
This commit is contained in:
parent
d15e7e8d7f
commit
c0439bb198
@ -151,7 +151,7 @@ class Geekquote(callbacks.PrivmsgCommandAndRegexp):
|
||||
return s
|
||||
|
||||
def geekSnarfer(self, irc, msg, match):
|
||||
r'http://(?:www\.)?(?P<site>bash\.org|qdb\.us)/\?(?P<id>\d+)'
|
||||
r'http://(?:www\.)?(?P<site>bash\.org|qdb\.us)/\??(?P<id>\d+)'
|
||||
if not self.registryValue('geekSnarfer', msg.args[0]):
|
||||
return
|
||||
id = match.groupdict()['id']
|
||||
|
Loading…
Reference in New Issue
Block a user