diff --git a/plugins/URL.py b/plugins/URL.py index 94e8a4bcd..355f749ac 100644 --- a/plugins/URL.py +++ b/plugins/URL.py @@ -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{4})') + _tinyRe = re.compile(r'(http://tinyurl.com/\w+)') def _getTinyUrl(self, url, cmd=False): try: #debug.printf('Trying to get tinyurl for %r' % url)