Update 'tool/irssi_cf_alturl.pl'

This commit is contained in:
unethical 2019-05-05 01:45:42 +00:00
parent 40110693ec
commit 3c6fef2a8e
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ sub GotUrl {
deb("$target Creating Short URL for $myurl");
$url = 'https://ux.nu/api/short?format=plain&url='.$myurl;
$browser = LWP::UserAgent->new;
$browser->agent("cloudflare-tor (Thank you for this service)");
$browser->agent("cloudflare-tor (Thank you for your service)");
$response = $browser->get($url);
$answer = $response->content;
if ( index( $answer, 'https://ux.nu/' ) == 0 ) {