/**
  * Here we do the work
  */
 public function execute($comment)
 {
     $this->result = PLG_SPAM_ACTION_DELETE;
     if (isset($GLOBALS['SFS_triggered']) && $GLOBALS['SFS_triggered']) {
         // the Examine class already reported these to SFS
         return PLG_SPAM_FOUND;
     }
     $SFS = new SFSbase();
     $SFS->CheckForSpam($comment);
     return PLG_SPAM_FOUND;
 }
 /**
  * Perform the check
  */
 function execute($comment)
 {
     global $result;
     $result = 128;
     if (isset($GLOBALS['sfs_triggered']) && $GLOBALS['sfs_triggered']) {
         // the Examine class already reported these to SFS
         return 1;
     }
     $sfs = new SFSbase();
     $sfs->CheckForSpam($comment);
     return 1;
 }
 /**
  * Here we do the work
  */
 public function execute($comment)
 {
     global $LANG_SX00;
     $ans = PLG_SPAM_NOT_FOUND;
     $uid = $this->getUid();
     $SFS = new SFSbase();
     if ($SFS->CheckForSpam($comment)) {
         $ans = PLG_SPAM_FOUND;
         SPAMX_log($LANG_SX00['foundspam'] . 'Stop Forum Spam (SFS)' . $LANG_SX00['foundspam2'] . $uid . $LANG_SX00['foundspam3'] . $_SERVER['REMOTE_ADDR']);
     }
     // tell the Action module that we've already been triggered
     $GLOBALS['SFS_triggered'] = true;
     return $ans;
 }
 /**
  * Here we do the work
  */
 function execute($comment)
 {
     global $_USER, $LANG_SX00;
     $ans = 0;
     if (isset($_USER['uid']) && $_USER['uid'] > 1) {
         $uid = $_USER['uid'];
     } else {
         $uid = 1;
     }
     $sfs = new SFSbase();
     if ($sfs->CheckForSpam($comment)) {
         $ans = 1;
         SPAMX_log($LANG_SX00['foundspam'] . 'Stop Forum Spam (SFS)' . $LANG_SX00['foundspam2'] . $uid . $LANG_SX00['foundspam3'] . $_SERVER['REMOTE_ADDR']);
     }
     // tell the Action module that we've already been triggered
     $GLOBALS['sfs_triggered'] = true;
     return $ans;
 }