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

compiler_vm: bump "Same output" length case to 22 to allow repetitions of "Success (no output)"

This commit is contained in:
Pragmatic Software 2014-04-07 07:24:14 +00:00
parent f347c6d1e3
commit 08e300bd54
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@ use warnings;
# These are set automatically by the build/commit script # These are set automatically by the build/commit script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 542, BUILD_REVISION => 543,
BUILD_DATE => "2014-04-06", BUILD_DATE => "2014-04-07",
}; };
1; 1;

View File

@ -1143,7 +1143,7 @@ if(defined $got_paste or (defined $got_run and $got_run eq "paste")) {
exit 0; exit 0;
} }
if(length $output > 10 and open FILE, "< history/$channel.last-output") { if(length $output > 22 and open FILE, "< history/$channel.last-output") {
my $last_output; my $last_output;
my $time = <FILE>; my $time = <FILE>;