]> git.vpit.fr Git - perl/scripts/xchat.git/blobdiff - services.pl
Freshen the default banner
[perl/scripts/xchat.git] / services.pl
index 10f4fd4355e69b0bf78bfd35fc7b5872411bf58a..f04a80efb8132998cb062e3a435ec5988c18273a 100755 (executable)
@@ -3,7 +3,7 @@ package Xchat::VPIT::Services;
 use strict;
 use warnings;
 
-use Xchat qw/:all/;
+use Xchat qw<:all>;
 
 use lib get_info 'xchatdir';
 use Xchat::XPI;
@@ -92,13 +92,15 @@ hook_command "C$_", \&csmode, {
  data => $_,
  help_text => join ' ', $_, '[nicks] ,', (lc $_),
     'the specified targets (or you if none) on the current channel via ChanServ'
-} for map { $_, "DE$_" } qw/VOICE HALFOP OP PROTECT/;
+} 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;