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