WebPaste: increase max width to 150 characters

This commit is contained in:
Pragmatic Software 2022-08-07 19:05:43 -07:00
parent 62849c9cc4
commit c4602bc295
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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 {}