mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-05 19:49:32 +01:00
pbot-vm: remove "command:" text from -paste output
This commit is contained in:
parent
e736051de5
commit
6565c516e9
@ -396,7 +396,7 @@ sub show_output($self) {
|
||||
}
|
||||
|
||||
if (exists $self->{options}->{'-paste'} or (defined $self->{got_run} and $self->{got_run} eq 'paste')) {
|
||||
my $cmdline = "command: $self->{cmdline}\n";
|
||||
my $cmdline = "$self->{cmdline}\n";
|
||||
|
||||
$cmdline =~ s/\$sourcefile/$self->{sourcefile}/g;
|
||||
$cmdline =~ s/\$execfile/$self->{execfile}/g;
|
||||
|
@ -25,7 +25,7 @@ use PBot::Imports;
|
||||
# These are set by the /misc/update_version script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 4626,
|
||||
BUILD_REVISION => 4627,
|
||||
BUILD_DATE => "2023-03-12",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user