mirror of https://github.com/pragma-/pbot.git
Plang print() built-in returns Nil again
This commit is contained in:
parent
5d7a6fab4c
commit
cdeb3efe1e
2
Plang
2
Plang
|
@ -1 +1 @@
|
|||
Subproject commit bcb144b35018cdb45704c2e59128b023eda2abb9
|
||||
Subproject commit f1fca8c5dd6424029d83e170a4081ce8f2403f05
|
|
@ -145,7 +145,7 @@ sub print_override {
|
|||
my ($self, $plang, $name, $arguments) = @_;
|
||||
my ($stmt, $end) = ($plang->output_value($arguments->[0]), $arguments->[1]->[1]);
|
||||
$self->{output} .= "$stmt$end";
|
||||
return ['STRING', "$stmt$end"];
|
||||
return ['NIL', undef];
|
||||
}
|
||||
|
||||
# our custom PBot built-in functions for Plang
|
||||
|
|
Loading…
Reference in New Issue