mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 19:22:40 +01:00
Interpreter: stop processing at the right spot
This commit is contained in:
parent
a9eb7cc24b
commit
b7ce503a8d
@ -660,6 +660,9 @@ sub handle_result {
|
|||||||
$result = $context->{split_result} . $result;
|
$result = $context->{split_result} . $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# nothing more to do here if we have no result or keyword
|
||||||
|
return 0 if not length $result or not exists $context->{keyword};
|
||||||
|
|
||||||
# set preserve_whitespace and use_output_queue
|
# set preserve_whitespace and use_output_queue
|
||||||
# TODO: this should be in Factoids.pm and update $context's flags
|
# TODO: this should be in Factoids.pm and update $context's flags
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ use PBot::Imports;
|
|||||||
# These are set by the /misc/update_version script
|
# These are set by the /misc/update_version script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 4364,
|
BUILD_REVISION => 4365,
|
||||||
BUILD_DATE => "2021-08-23",
|
BUILD_DATE => "2021-08-23",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user