X-Git-Url: http://git.vpit.fr/?p=perl%2Fscripts%2Fxchat.git;a=blobdiff_plain;f=services.pl;fp=services.pl;h=8fd3b9065d256cc4baefbafdcb0f658020c2bb33;hp=10f4fd4355e69b0bf78bfd35fc7b5872411bf58a;hb=b9c3e00cbf52ff5ddb0d79fd66a6877f6feb508d;hpb=694738744665b442290449960760fdd09c48d3fd diff --git a/services.pl b/services.pl index 10f4fd4..8fd3b90 100755 --- a/services.pl +++ b/services.pl @@ -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;