Fix some Sieve parser issues

This commit is contained in:
the-djmaze 2024-01-03 01:47:52 +01:00
parent 62639acc5a
commit f3935b1df4
3 changed files with 6 additions and 5 deletions

View file

@ -23,7 +23,8 @@ class FlagCommand extends ActionCommand
toString()
{
return this.identifier + ' ' + this._variablename + ' ' + this.list_of_flags + ';';
let name = this._variablename;
return this.identifier + (name.length ? ' ' + this.variablename : '') + ' ' + this.list_of_flags + ';';
}
get variablename()