Commit 7831a1c1 authored by Rob Swindell's avatar Rob Swindell

Fix what appears to be an extra close paren in the eval() statement here

<nelgin> Oct 12 16:05:41 bbs synchronet: srvc 0099 IMAPv4-TLS RECV: a UID SEARCH FROM "Michiel"
<nelgin> Oct 12 16:05:41 bbs synchronet: srvc 0099 IMAPv4-TLS !JavaScript  /sbbs/exec/imapservice.js line 1867: SyntaxError: missing ; before statement
<nelgin> I got a different type of error
parent d17a5ce0
Pipeline #342 passed with stage
in 18 minutes and 47 seconds
......@@ -1864,7 +1864,7 @@ function do_search(args, uid)
break;
case 'FROM':
type="hdr";
search=(eval("function(hdr) { return(hdr.get_from()).toUpperCase().indexOf("+args.shift().toUpperCase().toSource()+")!=-1) }"));
search=(eval("function(hdr) { return(hdr.get_from().toUpperCase().indexOf("+args.shift().toUpperCase().toSource()+")!=-1) }"));
break;
case 'KEYWORD':
type="hdr";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment