mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Verify hostnames when installing contrib modules.
This was missed in f6b861f12d.
This commit is contained in:
parent
c7b9385022
commit
1505705639
@ -327,7 +327,7 @@ for my $mod (sort keys %todo) {
|
|||||||
}
|
}
|
||||||
$mod_versions{$mod} = $ver;
|
$mod_versions{$mod} = $ver;
|
||||||
|
|
||||||
my $ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 0 });
|
my $ua = LWP::UserAgent->new;
|
||||||
my $response = $ua->get($url);
|
my $response = $ua->get($url);
|
||||||
|
|
||||||
if ($response->is_success) {
|
if ($response->is_success) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user