]> git.vpit.fr Git - perl/scripts/xchat.git/blobdiff - hl.pl
Just say no to indirect object notation
[perl/scripts/xchat.git] / hl.pl
diff --git a/hl.pl b/hl.pl
index 97a80af38e7a4b922a76c69721d47b26d67e13eb..fdaaf5cb89477d755e54fc52d7b37c39b0a3539c 100755 (executable)
--- 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;