ShrinkUrl: Remove our 'lazy biotch' message and length check.

If someone wants to specifically request that a URL, which can't possibly be
made shorter using a specific service, be shrunk, we should abide their
request.
This commit is contained in:
James Vega 2009-10-08 23:14:42 -04:00
parent de4218b26e
commit c4de386d8f
1 changed files with 0 additions and 12 deletions

View File

@ -157,9 +157,6 @@ class ShrinkUrl(callbacks.PluginRegexp):
Returns an ln-s.net version of <url>.
"""
if len(url) < 17:
irc.error('Stop being a lazy-biotch and type the URL yourself.')
return
try:
lnurl = self._getLnUrl(url)
m = irc.reply(lnurl)
@ -187,9 +184,6 @@ class ShrinkUrl(callbacks.PluginRegexp):
Returns a TinyURL.com version of <url>
"""
if len(url) < 20:
irc.error('Stop being a lazy-biotch and type the URL yourself.')
return
try:
tinyurl = self._getTinyUrl(url)
m = irc.reply(tinyurl)
@ -217,9 +211,6 @@ class ShrinkUrl(callbacks.PluginRegexp):
Returns an xrl.us version of <url>.
"""
if len(url) < 17:
irc.error('Stop being a lazy-biotch and type the URL yourself.')
return
try:
xrlurl = self._getXrlUrl(url)
m = irc.reply(xrlurl)
@ -245,9 +236,6 @@ class ShrinkUrl(callbacks.PluginRegexp):
Returns an x0.no version of <url>.
"""
if len(url) < 17:
irc.error('Stop being a lazy-biotch and type the URL yourself.')
return
try:
x0url = self._getX0Url(url)
m = irc.reply(x0url)