From c0439bb198c22e6c89341d97ed075c96f392d1d4 Mon Sep 17 00:00:00 2001 From: Kevin Murphy Date: Wed, 12 Jan 2005 21:11:12 +0000 Subject: [PATCH] qdb doesn't like to put ?'s in their URLs, so the snarfer wasn't catching qdb URLs properly --- plugins/Geekquote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Geekquote.py b/plugins/Geekquote.py index 8794f6214..ba2b64760 100644 --- a/plugins/Geekquote.py +++ b/plugins/Geekquote.py @@ -151,7 +151,7 @@ class Geekquote(callbacks.PrivmsgCommandAndRegexp): return s def geekSnarfer(self, irc, msg, match): - r'http://(?:www\.)?(?Pbash\.org|qdb\.us)/\?(?P\d+)' + r'http://(?:www\.)?(?Pbash\.org|qdb\.us)/\??(?P\d+)' if not self.registryValue('geekSnarfer', msg.args[0]): return id = match.groupdict()['id']