]> 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 285e11a9a3be0f45d125ad9d246242cf2805e491..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,13 +117,4 @@ our %EXPORT_TAGS    = ('funcs' => [ qw/resolve whois/ ]);
 our @EXPORT_OK      = map { @$_ } values %EXPORT_TAGS;
 $EXPORT_TAGS{'all'} = [ @EXPORT_OK ];
 
-$ph = Xchat::XPI->new(
- 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;