fix parsing of Delay command
This commit is contained in:
parent
99eaded40e
commit
1fe1da5ca0
1 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,8 @@ Command<void> *DelayedCmd::parse(const std::string &command,
|
|||
const std::string &args, bool trusted) {
|
||||
|
||||
std::string cmd_str;
|
||||
int err = StringUtil::getStringBetween(cmd_str, args.c_str(), '{', '}');
|
||||
int err = StringUtil::getStringBetween(cmd_str, args.c_str(), '{', '}',
|
||||
" \t\n", true);
|
||||
if (err == 0)
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue