]> git.vpit.fr Git - perl/scripts/xchat.git/blobdiff - services.pl
Just say no to indirect object notation
[perl/scripts/xchat.git] / services.pl
index 10f4fd4355e69b0bf78bfd35fc7b5872411bf58a..8fd3b9065d256cc4baefbafdcb0f658020c2bb33 100755 (executable)
@@ -94,11 +94,13 @@ hook_command "C$_", \&csmode, {
     'the specified targets (or you if none) on the current channel via ChanServ'
 } for map { $_, "DE$_" } qw/VOICE HALFOP OP PROTECT/;
 
-$ph = new Xchat::XPI name   => 'IRC Services',
-                     tag    => 'Services',
-                     desc   => 'Various IRC services helpers',
-                     author => 'Vincent Pit (VPIT)',
-                     email  => 'perl@profvince.com',
-                     url    => 'http://www.profvince.com';
+$ph = Xchat::XPI->new(
+ name   => 'IRC Services',
+ tag    => 'Services',
+ desc   => 'Various IRC services helpers',
+ author => 'Vincent Pit (VPIT)',
+ email  => 'perl@profvince.com',
+ url    => 'http://www.profvince.com',
+);
 
 1;