The dots need to escape from tinyurl

This commit is contained in:
James Vega 2003-11-12 17:30:24 +00:00
parent 4ce677bc6e
commit 965d8e0b5f

View File

@ -156,7 +156,7 @@ class URL(callbacks.Privmsg, plugins.Configurable, plugins.ChannelDBHandler):
self.nextMsgs.setdefault(key, []).append((url, added))
db.commit()
_tinyRe = re.compile(r'(http://tinyurl.com/\w+)</blockquote>')
_tinyRe = re.compile(r'(http://tinyurl\.com/\w+)</blockquote>')
def _getTinyUrl(self, url, cmd=False):
try:
#debug.printf('Trying to get tinyurl for %r' % url)