mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-17 09:29:30 +01:00
Interpreter: reset split_result
after processing it
This fixes e.g.: <pragma-> ,{echo foo ;;; echo bar} ,{echo baz} <PBot> foo bar <PBot> foo baz To instead produce the expected: <PBot> foo bar <PBot> baz
This commit is contained in:
parent
8e2b0df17c
commit
dbff4bc2f7
@ -697,6 +697,7 @@ sub handle_result($self, $context, $result = $context->{result}) {
|
||||
$result =~ s!^/me !\n* $botnick !i;
|
||||
|
||||
$result = $context->{split_result} . $result;
|
||||
delete $context->{split_result};
|
||||
}
|
||||
|
||||
# nothing more to do here if we have no result or keyword
|
||||
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
||||
# These are set by the /misc/update_version script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 4847,
|
||||
BUILD_DATE => "2024-11-09",
|
||||
BUILD_REVISION => 4849,
|
||||
BUILD_DATE => "2024-11-10",
|
||||
};
|
||||
|
||||
sub initialize {}
|
||||
|
Loading…
Reference in New Issue
Block a user