summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorunethical <une@thi.cal>2019-05-05 08:40:18 +0000
committerunethical <une@thi.cal>2019-05-05 08:40:18 +0000
commit52b784ba717b3b3f69cd74cd7f4075a4dfbf5fd7 (patch)
treee73c5f2b8f4bac2756b4f6efc2746af0aec5f02a /tool
parent8de9515bbe20d8f341c16bd9d709457779463013 (diff)
downloadcloudflare-tor-52b784ba717b3b3f69cd74cd7f4075a4dfbf5fd7.tar
cloudflare-tor-52b784ba717b3b3f69cd74cd7f4075a4dfbf5fd7.tar.gz
cloudflare-tor-52b784ba717b3b3f69cd74cd7f4075a4dfbf5fd7.tar.lz
cloudflare-tor-52b784ba717b3b3f69cd74cd7f4075a4dfbf5fd7.tar.xz
cloudflare-tor-52b784ba717b3b3f69cd74cd7f4075a4dfbf5fd7.zip
Update 'tool/irssi_cf_alturl.pl'
Diffstat (limited to 'tool')
-rw-r--r--tool/irssi_cf_alturl.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/tool/irssi_cf_alturl.pl b/tool/irssi_cf_alturl.pl
index 5aad51aa..33435da5 100644
--- a/tool/irssi_cf_alturl.pl
+++ b/tool/irssi_cf_alturl.pl
@@ -195,7 +195,11 @@ sub GotUrl {
$response = $browser->get($url);
$answer = $response->content;
if ( index( $answer, 'https://ux.nu/' ) == 0 ) {
- $mytype = '^B^C7[Short]^O ';
+ if ($mytype eq ''){
+ $mytype = '^B^C7[Short]^O ';
+ }else{
+ $mytype = '^B^C2[Short,Archive]^O ';
+ }
$myurl = $answer;
}
}