From 9b79dbd185e78a7cd288c88a31a188b4be62c698 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Fri, 5 Nov 2010 05:06:35 +0000 Subject: url_hilight: added a warning about unfinishedness, and make it at least compile. --- url_hilight/url_hilight.pl | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/url_hilight/url_hilight.pl b/url_hilight/url_hilight.pl index 4efb893..fe1a096 100644 --- a/url_hilight/url_hilight.pl +++ b/url_hilight/url_hilight.pl @@ -1,3 +1,11 @@ +# url_hilight.pl +# +# This script is a work in progress, and will probably not do anything useful +# at the moment. Please fork and implement, or bug me on #irssi if you can +# decide what it ought to do, since I've forgotten. + + + use strict; use warnings; use Irssi; @@ -6,9 +14,9 @@ our %IRSSI = ( "author" => 'shabble', "contact" => 'shabble+irssi@metavore.org, shabble@Freenode/#irssi', "name" => 'URL Highlighter', - "description" => ' ' - "license" => 'WTFPL: http://sam.zoy.org/wtfpl/' - "version" => '0.1' + "description" => ' ', + "license" => 'WTFPL: http://sam.zoy.org/wtfpl/', + "version" => '0.1', ); # regex taken from http://daringfireball.net/2010/07/improved_regex_for_matching_urls @@ -21,6 +29,5 @@ sub handle_gui_print_text { } } - Irssi::signal_add('gui print text', \&handle_gui_print_text); -- cgit v1.2.3