diff options
Diffstat (limited to 'url_hilight/url_hilight.pl')
-rw-r--r-- | url_hilight/url_hilight.pl | 15 |
1 files 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); |