From 8de9515bbe20d8f341c16bd9d709457779463013 Mon Sep 17 00:00:00 2001 From: unethical Date: Sun, 5 May 2019 07:52:07 +0000 Subject: (^CN in irssi) --- tool/irssi_cf_alturl.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tool') 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; } } -- cgit v1.2.3