From 52b784ba717b3b3f69cd74cd7f4075a4dfbf5fd7 Mon Sep 17 00:00:00 2001 From: unethical Date: Sun, 5 May 2019 08:40:18 +0000 Subject: Update 'tool/irssi_cf_alturl.pl' --- tool/irssi_cf_alturl.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tool') 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; } } -- cgit v1.2.3