if (isCrackerTrackerWormDetected()) {
// Send the email, this must be the last line in this if() block because it contains a exit()
sendCrackerTrackerMail();
-} // END - if
-
-// Suspicious POST data detected?
-if (isCrackerTrackerPostAttackDetected()) {
+} elseif (isCrackerTrackerPostAttackDetected()) {
// Send the email, this must be the last line in this if() block because it contains a exit()
sendCrackerTrackerPostMail();
-} // END - if
-
-// Does the current IP produce some blocked requests but not now?
-if ((getCrackerTrackerConfig('ctracker_alert_user') == 'Y') && (isCrackerTrackerIpSuspicious())) {
+} elseif ((getCrackerTrackerConfig('ctracker_alert_user') == 'Y') && (isCrackerTrackerIpSuspicious())) {
// This IP is suspicious, so we alert him/her
crackerTrackerAlertCurrentUser();
} // END - if