From 2b36286c22d61f6a7b1c37dabbef419c83235fcd Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 11 May 2023 11:02:16 -0700 Subject: [PATCH] Interpreter: extract_bracketed: missed a state change --- lib/PBot/Core/Interpreter.pm | 2 ++ lib/PBot/VERSION.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/PBot/Core/Interpreter.pm b/lib/PBot/Core/Interpreter.pm index da3c63df..b142a62d 100644 --- a/lib/PBot/Core/Interpreter.pm +++ b/lib/PBot/Core/Interpreter.pm @@ -1090,6 +1090,8 @@ sub extract_bracketed($self, $string, $open_bracket = '{', $close_bracket = '}', } elsif (@prefix) { $prefix_match = 0; $state = 'prefixgroup'; + } else { + $state = 'openbracket'; } } diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 36324ee9..63c993c1 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,7 +25,7 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4673, + BUILD_REVISION => 4674, BUILD_DATE => "2023-05-11", };