mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 10:59:29 +01:00
WebPaste: Remove a couple of left-over debug messages
This commit is contained in:
parent
0bed26a479
commit
6b4943e3a9
@ -62,9 +62,7 @@ sub paste {
|
|||||||
my $result;
|
my $result;
|
||||||
|
|
||||||
for (my $tries = 5; $tries > 0; $tries--) {
|
for (my $tries = 5; $tries > 0; $tries--) {
|
||||||
$self->{pbot}->{logger}->log("try $tries...\n");
|
|
||||||
my $paste_site = $self->get_paste_site;
|
my $paste_site = $self->get_paste_site;
|
||||||
|
|
||||||
$result = $paste_site->($text);
|
$result = $paste_site->($text);
|
||||||
|
|
||||||
if ($result !~ m/error pasting/) {
|
if ($result !~ m/error pasting/) {
|
||||||
@ -79,8 +77,6 @@ sub paste_ixio {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $text = join(' ', @_);
|
my $text = join(' ', @_);
|
||||||
|
|
||||||
print "paste ixio?\n";
|
|
||||||
|
|
||||||
$text =~ s/(.{120})\s/$1\n/g;
|
$text =~ s/(.{120})\s/$1\n/g;
|
||||||
|
|
||||||
my $ua = LWP::UserAgent->new();
|
my $ua = LWP::UserAgent->new();
|
||||||
|
Loading…
Reference in New Issue
Block a user