3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

WebPaste: Remove a couple of left-over debug messages

This commit is contained in:
Pragmatic Software 2017-12-05 21:19:20 -08:00
parent 0bed26a479
commit 6b4943e3a9

View File

@ -62,9 +62,7 @@ sub paste {
my $result;
for (my $tries = 5; $tries > 0; $tries--) {
$self->{pbot}->{logger}->log("try $tries...\n");
my $paste_site = $self->get_paste_site;
$result = $paste_site->($text);
if ($result !~ m/error pasting/) {
@ -79,8 +77,6 @@ sub paste_ixio {
my $self = shift;
my $text = join(' ', @_);
print "paste ixio?\n";
$text =~ s/(.{120})\s/$1\n/g;
my $ua = LWP::UserAgent->new();