mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
compiler_vm: Don't display "Same output" unless length of output is greater than 10 characters
This commit is contained in:
parent
8a7c539e0f
commit
736056b586
@ -13,7 +13,7 @@ use warnings;
|
||||
# These are set automatically by the build/commit script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 539,
|
||||
BUILD_REVISION => 540,
|
||||
BUILD_DATE => "2014-04-03",
|
||||
};
|
||||
|
||||
|
@ -1143,7 +1143,7 @@ if(defined $got_paste or (defined $got_run and $got_run eq "paste")) {
|
||||
exit 0;
|
||||
}
|
||||
|
||||
if(open FILE, "< history/$channel.last-output") {
|
||||
if(length $output > 10 and open FILE, "< history/$channel.last-output") {
|
||||
my $last_output;
|
||||
my $time = <FILE>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user