3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-04 18:38:47 +02:00

Plugin/RunCommand: silence useless warning

This commit is contained in:
Pragmatic Software 2021-08-04 19:01:57 -07:00
parent 5c43b46477
commit 03a14c4928
2 changed files with 3 additions and 3 deletions

View File

@ -68,10 +68,10 @@ sub cmd_runcmd {
sub send_lines {
my ($self, $context, $buffer) = @_;
my ($line, $lines);
my $lines = 0;
while ($$buffer =~ s/(.{1,370})//) {
$line = $1;
my $line = $1;
$line =~ s/^\s+|\s+$//g;
if (length $line) {

View File

@ -25,7 +25,7 @@ use PBot::Imports;
# These are set by the /misc/update_version script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 4341,
BUILD_REVISION => 4342,
BUILD_DATE => "2021-08-04",
};