3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-04 18:38:47 +02:00

Fix alias escaping

This commit is contained in:
Pragmatic Software 2019-08-06 10:44:10 -07:00
parent b7f2c188bc
commit ff14b8e419

View File

@ -322,6 +322,8 @@ sub interpret {
$stuff->{keyword} = $keyword;
$stuff->{original_arguments} = $arguments;
# unescape any escaped command splits
$arguments =~ s/\\;;/;;/g if defined $arguments;
@ -335,7 +337,6 @@ sub interpret {
# set arguments as a plain string
$stuff->{arguments} = $arguments;
$stuff->{original_arguments} = $arguments;
delete $stuff->{args_utf8};
# set arguments as an array