Remove this check as it prevents from Bit.ly Pro Custom URLs.

This commit is contained in:
Elijah Perrault committed 2011-02-01 20:22:18 -07:00
1 parent 0adcdf4b8f
commit 41fb41eda0
1 file changed
-6
-6
View File
@@ -71,7 +71,6 @@ sub shorten
# If successful, decode the content. # If successful, decode the content.
my $d = $response->decoded_content; my $d = $response->decoded_content;
chomp $d; chomp $d;
if ($d =~ m/bit.ly/i) {
# And send to channel. # And send to channel.
privmsg($data{svr}, $data{chan}, "URL: ".$d); privmsg($data{svr}, $data{chan}, "URL: ".$d);
} }
@@ -79,11 +78,6 @@ sub shorten
# Otherwise, send an error message. # Otherwise, send an error message.
privmsg($data{svr}, $data{chan}, "An error occurred while shortening your URL."); privmsg($data{svr}, $data{chan}, "An error occurred while shortening your URL.");
} }
}
else {
# Otherwise, send an error message.
privmsg($data{svr}, $data{chan}, "An error occurred while shortening your URL.");
}
return 1; return 1;
} }