mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-17 09:29:30 +01:00
pbot-vm: Fix -paste getting 403 Forbidden
This commit is contained in:
parent
a453518fab
commit
6002c93d60
@ -41,7 +41,6 @@ sub paste_0x0 {
|
|||||||
$text =~ s/(.{120})\s/$1\n/g;
|
$text =~ s/(.{120})\s/$1\n/g;
|
||||||
|
|
||||||
my $ua = LWP::UserAgent->new();
|
my $ua = LWP::UserAgent->new();
|
||||||
$ua->agent("Mozilla/5.0");
|
|
||||||
push @{ $ua->requests_redirectable }, 'POST';
|
push @{ $ua->requests_redirectable }, 'POST';
|
||||||
$ua->timeout(10);
|
$ua->timeout(10);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user