Skip to content
Snippets Groups Projects
Commit 8fed8e15 authored by deuce's avatar deuce
Browse files

Fix last commit

parent 5e0054f9
No related branches found
No related tags found
No related merge requests found
......@@ -115,8 +115,8 @@ function Message_DoCommand(command)
var headers=ret.message.replace(/^([\x00-\xff]*?\r\n)\r\n[\x00-\xff]*$/,"$1");
var m=headers.match(/X-Spam-Status:\s*([\x00-\xff]*?)\r\n[^\s]/);
if(m!=null) {
var hdr=m[1].replace(/\s+/g,' ');
hdr=hdr.replace(/,\r\n\s+/g,'');
var hdr=m[1].replace(/,\r\n\s+/g,',');
hdr=hdr.replace(/\s+/g,' ');
var tokens=hdr.split(/\s+/);
switch(tokens[0]) {
case 'No,':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment