Stupid Git.

This commit is contained in:
Elijah Perrault committed 2011-02-19 21:04:18 -07:00
1 parent 24ab4aaf9a
commit 6a7cf754cc
2 files changed
+2 -4

No files matched your search

+1 -3
View File
@@ -4,7 +4,7 @@
package M::LinkTitle;
use strict;
use warnings;
#use LWP::UserAgent;
use LWP::UserAgent;
use HTML::Entities;
use API::Std qw(hook_add hook_del);
use API::IRC qw(privmsg);
@@ -40,7 +40,6 @@ sub gettitle
# We've got a match, connect to the server.
my $srv = $1;
# Create an instance of LWP::UserAgent.
require LWP::UserAgent;
my $ua = LWP::UserAgent->new();
$ua->agent('Auto IRC Bot');
$ua->timeout(3);
@@ -60,7 +59,6 @@ sub gettitle
privmsg($src->{svr}, $chan, "\2Title:\2 $title");
}
}
Class::Unload->unload('LWP::UserAgent');
}
}