0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-11-09 19:02:40 +00:00

Update 'tool/irssi_cf_alturl.pl'

This commit is contained in:
unethical 2019-05-05 08:40:18 +00:00
parent 8de9515bbe
commit 52b784ba71

View File

@ -195,7 +195,11 @@ sub GotUrl {
$response = $browser->get($url); $response = $browser->get($url);
$answer = $response->content; $answer = $response->content;
if ( index( $answer, 'https://ux.nu/' ) == 0 ) { if ( index( $answer, 'https://ux.nu/' ) == 0 ) {
if ($mytype eq ''){
$mytype = '^B^C7[Short]^O '; $mytype = '^B^C7[Short]^O ';
}else{
$mytype = '^B^C2[Short,Archive]^O ';
}
$myurl = $answer; $myurl = $answer;
} }
} }