aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/poller.php b/include/poller.php
index f116a5622..0980ca1fa 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -105,12 +105,14 @@
if(intval($res->status) == 1)
mark_for_death($contact);
+ else {
+ if($contact['term-date'] != '0000-00-00 00:00:00')
+ unmark_for_death($contact);
+ }
if((intval($res->status) != 0) || (! strlen($res->challenge)) || (! strlen($res->dfrn_id)))
continue;
- if($contact['term-date'] != '0000-00-00 00:00:00')
- unmark_for_death($contact);
$postvars = array();