From 6b4943e3a968a5d9a6f8953dfd64473f941c14a3 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 5 Dec 2017 21:19:20 -0800 Subject: [PATCH] WebPaste: Remove a couple of left-over debug messages --- PBot/WebPaste.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/PBot/WebPaste.pm b/PBot/WebPaste.pm index ab6186ec..b8e569ed 100644 --- a/PBot/WebPaste.pm +++ b/PBot/WebPaste.pm @@ -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();