Skip to content
Snippets Groups Projects
Commit f5f45a51 authored by rswindell's avatar rswindell
Browse files

Spamd reports "Spam: True" for some commands and "Spam: Yes" for others

parent 20a6f0cd
Branches
Tags
No related merge requests found
...@@ -85,7 +85,7 @@ function Message_DoCommand(command) ...@@ -85,7 +85,7 @@ function Message_DoCommand(command)
tmp=rcvd[line].split(/\s+/); tmp=rcvd[line].split(/\s+/);
switch(tmp[0].toUpperCase()) { switch(tmp[0].toUpperCase()) {
case 'SPAM:': case 'SPAM:':
if(tmp[1].toLowerCase() == 'true') if(tmp[1].toLowerCase() == 'true' || tmp[1].toLowerCase() == 'yes')
ret.isSpam=true; ret.isSpam=true;
else else
ret.isSpam=false; ret.isSpam=false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment