From fbd93b879c613f59a0b46eccea12abfe1a93f90b Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Tue, 7 Sep 2010 10:56:58 +0000 Subject: [PATCH] - Don't let the autoresponder answer to autoresponded-answers, fixes #399 --- scripts/jobs/cron_autoresponder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jobs/cron_autoresponder.php b/scripts/jobs/cron_autoresponder.php index 3eb5dd07..194f4b57 100644 --- a/scripts/jobs/cron_autoresponder.php +++ b/scripts/jobs/cron_autoresponder.php @@ -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; }