]> git.vpit.fr Git - perl/scripts/xchat.git/blobdiff - tools.pl
Just say no to indirect object notation
[perl/scripts/xchat.git] / tools.pl
index bf6af1804e4f3e6456d79e88646a9fd2c65ccd84..b554d4a7fc16ab636beb86b5563e76b1caac0017 100755 (executable)
--- a/tools.pl
+++ b/tools.pl
@@ -140,11 +140,13 @@ hook_command 'HGREP', sub {
  help_text => 'HGREP <text>, print users in the current context whose hostname matches text'
 };
 
-$ph = new Xchat::XPI name   => 'Misc tools',
-                     tag    => 'Tools',
-                     desc   => 'Perl interpretor, URI escaper',
-                     author => 'Vincent Pit (VPIT)',
-                     email  => 'perl@profvince.com',
-                     url    => 'http://www.profvince.com';
+$ph = Xchat::XPI->new(
+ name   => 'Misc tools',
+ tag    => 'Tools',
+ desc   => 'Perl interpretor, URI escaper',
+ author => 'Vincent Pit (VPIT)',
+ email  => 'perl@profvince.com',
+ url    => 'http://www.profvince.com',
+);
 
 1;