mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Fix Sieve QuotedString handling
This commit is contained in:
parent
257d9201f6
commit
61c2eefec1
13 changed files with 185 additions and 104 deletions
|
|
@ -41,18 +41,21 @@ export class ErrorCommand extends ControlCommand
|
|||
constructor()
|
||||
{
|
||||
super();
|
||||
this.message = new GrammarQuotedString;
|
||||
this._message = new GrammarQuotedString;
|
||||
}
|
||||
|
||||
get require() { return 'ihave'; }
|
||||
|
||||
get message() { return this._message.value; }
|
||||
set message(v) { this._message.value = v; }
|
||||
|
||||
toString()
|
||||
{
|
||||
return 'error ' + this.message + ';';
|
||||
return 'error ' + this._message + ';';
|
||||
}
|
||||
|
||||
pushArguments(args)
|
||||
{
|
||||
this.message = args.pop();
|
||||
this._message = args.pop();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue