Replace your code on that file with the following:
PHP Code:
///code added by EPC Login Detector
$ip = IPADDRESS;
$subject="Bad login - 5 tries";
$message="'$ip' was found trying to login to the account ".$vbulletin->GPC['vb_login_username']." and was blocked. Please investigate this as soon as you can.";
$admin = $vbulletin->db->query_read_slave("SELECT * FROM `user` WHERE `usertitle` = 'Administrator' limit 0,3000");
while ($item = $vbulletin->db->fetch_array($admin)) {
vbmail($item['email'], $subject, $message, true);
}
//code end by EPC Login Detector
Updated the hack's How To!