diff --git a/plugins/URL.py b/plugins/URL.py index 1646e6268..d91324995 100644 --- a/plugins/URL.py +++ b/plugins/URL.py @@ -183,7 +183,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp, super(URL, self).doPrivmsg(irc, msg) def tinyurlSnarfer(self, irc, msg, match): - r"https?://[^\])>\s]{17,}" + r"https?://[^\])>\s]{18,}" if not ircutils.isChannel(msg.args[0]): return channel = msg.args[0] @@ -288,7 +288,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp, Returns a TinyURL.com version of """ url = privmsgs.getArgs(args) - if len(url) < 23: + if len(url) < 24: irc.error( 'Stop being a lazy-biotch and type the URL yourself.') return