X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=hl.pl;h=fdaaf5cb89477d755e54fc52d7b37c39b0a3539c;hb=d0506fe825279c4658116b8b09fabf51f943a8cd;hp=97a80af38e7a4b922a76c69721d47b26d67e13eb;hpb=304986c32ddd8652698a79b909da39e8656c2f8b;p=perl%2Fscripts%2Fxchat.git diff --git a/hl.pl b/hl.pl index 97a80af..fdaaf5c 100755 --- a/hl.pl +++ b/hl.pl @@ -9,7 +9,7 @@ use lib get_info 'xchatdir'; use Xchat::XPI; use Xchat::XPI::Events qw/filter/; -our $VERSION = '0.02'; +our $VERSION = '0.03'; my $ph; @@ -84,12 +84,14 @@ filter 'Channel Action Hilight' => sub { } } => 'Channel Action'; -$ph = new Xchat::XPI name => 'Smart highlighting', - tag => 'HL', - desc => 'Highlight on private messages', - author => 'Vincent Pit (VPIT)', - email => 'perl@profvince.com', - url => 'http://www.profvince.com'; +$ph = Xchat::XPI->new( + name => 'Smart highlighting', + tag => 'HL', + desc => 'Highlight on private messages', + author => 'Vincent Pit (VPIT)', + email => 'perl@profvince.com', + url => 'http://www.profvince.com', +); 1;