- Don't let the autoresponder answer to autoresponded-answers, fixes #399

This commit is contained in:
Michael Kaufmann (d00p)
2010-09-07 10:56:58 +00:00
parent af43ccf37e
commit fbd93b879c

View File

@@ -196,7 +196,7 @@ if($db->num_rows($result) > 0)
//check if mail is already an answer
$fullcontent = implode("", $content);
if(strstr($fullcontent, $message))
if(strstr($fullcontent, $message) || $from == $to)
{
continue;
}