summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorunethical <une@thi.cal>2019-05-05 07:52:07 +0000
committerunethical <une@thi.cal>2019-05-05 07:52:07 +0000
commit8de9515bbe20d8f341c16bd9d709457779463013 (patch)
tree696f403458aee8fbc3c872f4d787806bbaca58b8 /tool
parentda82749679fc49001d6d13d69f193aec804ada4b (diff)
downloadcloudflare-tor-8de9515bbe20d8f341c16bd9d709457779463013.tar
cloudflare-tor-8de9515bbe20d8f341c16bd9d709457779463013.tar.gz
cloudflare-tor-8de9515bbe20d8f341c16bd9d709457779463013.tar.lz
cloudflare-tor-8de9515bbe20d8f341c16bd9d709457779463013.tar.xz
cloudflare-tor-8de9515bbe20d8f341c16bd9d709457779463013.zip
(^CN in irssi)
Diffstat (limited to 'tool')
-rw-r--r--tool/irssi_cf_alturl.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tool/irssi_cf_alturl.pl b/tool/irssi_cf_alturl.pl
index 67b55b1b..5aad51aa 100644
--- a/tool/irssi_cf_alturl.pl
+++ b/tool/irssi_cf_alturl.pl
@@ -145,7 +145,7 @@ sub GotUrl {
## ACT1: Update URL if Cloudflared
if ( grep( /^$fqdn$/, @cached ) ) {
deb("$target Found in Cache $fqdn");
- $mytype = '^B^K3[Archive^O] ';
+ $mytype = '^B^C3[Archive]^O ';
$myurl = 'https://web.archive.org/web/' . $myurl;
}
else {
@@ -165,7 +165,7 @@ sub GotUrl {
if ( $ifoundit == 1 ) {
push( @cached, $fqdn );
- $mytype = '^B^K3[Archive^O] ';
+ $mytype = '^B^C3[Archive]^O ';
$myurl = 'https://web.archive.org/web/' . $myurl;
}
}
@@ -179,7 +179,7 @@ sub GotUrl {
$answer = $response->content;
if ( $answer eq '[true,true]' ) {
push( @cached, $fqdn );
- $mytype = '^B^K3[Archive^O] ';
+ $mytype = '^B^C3[Archive]^O ';
$myurl = 'https://web.archive.org/web/' . $myurl;
}
}
@@ -195,7 +195,7 @@ sub GotUrl {
$response = $browser->get($url);
$answer = $response->content;
if ( index( $answer, 'https://ux.nu/' ) == 0 ) {
- $mytype = '^B^K7[Short^O] ';
+ $mytype = '^B^C7[Short]^O ';
$myurl = $answer;
}
}