]> git.vpit.fr Git - perl/scripts/xchat.git/blobdiff - Xchat/XPI/Net.pm
Don't create a plugin object for modules
[perl/scripts/xchat.git] / Xchat / XPI / Net.pm
index 56cd68f6a64fff12cb762a462e8bf97f0c405a8d..a7b267927059493c6d1060381db1f9a28071bc5c 100644 (file)
@@ -12,9 +12,9 @@ use Xchat qw/:all/;
 use lib get_info 'xchatdir';
 use Xchat::XPI qw/register init/;
 
-our $VERSION = '0.02';
+our $VERSION = '0.03';
 
-my ($ph, $res);
+my $res;
 
 BEGIN {
  $res = Net::DNS::Resolver->new;
@@ -117,11 +117,4 @@ our %EXPORT_TAGS    = ('funcs' => [ qw/resolve whois/ ]);
 our @EXPORT_OK      = map { @$_ } values %EXPORT_TAGS;
 $EXPORT_TAGS{'all'} = [ @EXPORT_OK ];
 
-$ph = new Xchat::XPI name   => 'Extended Xchat Perl Interface :: Net',
-                     tag    => 'XPI::Net',
-                     desc   => 'Asynchronous network tools',
-                     author => 'Vincent Pit (VPIT)',
-                     email  => 'perl@profvince.com',
-                     url    => 'http://www.profvince.com';
-
 1;