diff --git a/PBot/Interpreter.pm b/PBot/Interpreter.pm index a82265c9..49120acc 100644 --- a/PBot/Interpreter.pm +++ b/PBot/Interpreter.pm @@ -264,6 +264,8 @@ sub interpret { return $result; } + # unescape any escaped substituted commands + $arguments =~ s/\\&\{/&{/g if defined $arguments; # parse out a pipe unless escaped if (defined $arguments && $arguments =~ m/(?