From c4602bc295a4946339a00ad8517a6cba6e934e34 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 7 Aug 2022 19:05:43 -0700 Subject: [PATCH] WebPaste: increase max width to 150 characters --- lib/PBot/Core/WebPaste.pm | 2 +- lib/PBot/VERSION.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/PBot/Core/WebPaste.pm b/lib/PBot/Core/WebPaste.pm index 3922389d..0b016b8c 100644 --- a/lib/PBot/Core/WebPaste.pm +++ b/lib/PBot/Core/WebPaste.pm @@ -53,7 +53,7 @@ sub paste { %opts = (%default_opts, %opts); # word-wrap text unless no_split is set - $text =~ s/(.{120})\s/$1\n/g unless $opts{no_split}; + $text =~ s/(.{150})\s/$1\n/g unless $opts{no_split}; # encode paste to utf8 $text = encode('UTF-8', $text); diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index eb9484a3..7a16eef2 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,8 +25,8 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4564, - BUILD_DATE => "2022-08-03", + BUILD_REVISION => 4565, + BUILD_DATE => "2022-08-07", }; sub initialize {}