NotifySend.php
[Pman.Core] / Notify.php
index 705cb6b..6580087 100644 (file)
@@ -206,7 +206,8 @@ class Pman_Core_Notify extends Pman
             $w->evtype = $this->evtype;
         }
         
-        
+        $w->server_id = $this->server->id;
+
         
         if (!empty($opts['old'])) {
             // show old and new...
@@ -233,7 +234,6 @@ class Pman_Core_Notify extends Pman
         }
         
         
-        
     
         
          
@@ -295,7 +295,9 @@ class Pman_Core_Notify extends Pman
             if ($black !== false) {
                 
                 if (false === $this->server->updateNotifyToNextServer($p)) {
-                    $p->updateState("????");
+                    $ev = $this->addEvent('NOTIFY', $p, 'BLACKLISTED  FROM our DB');
+                    $this->server->updateNotifyToNextServer($w,  strtotime('NOW +  5 MINUTES'),true);
+                   // $this->errorHandler( $ev->remarks);
                 }
                 
                 continue;