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", };