1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00
This commit is contained in:
e107steved 2012-01-04 08:16:55 +00:00
parent 6e9f94b4af
commit 1b0730f91f

View File

@ -89,7 +89,7 @@ if(isset($_POST['delbanSubmit']))
{
$at = $sql->db_Fetch();
//if (!$e107->add_ban(4, FLALAN_4, $at['gen_ip'], ADMINID))
if (!e107::getIPHandler()add_ban(4, FLALAN_4, $at['gen_ip'], ADMINID))
if (!e107::getIPHandler()->add_ban(4, FLALAN_4, $at['gen_ip'], ADMINID))
{ // IP on whitelist (although possibly we shouldn't get to this stage, but check anyway
$emessage->add(str_replace(FLALAN_18,'--IP--',$at['gen_ip']), E_MESSAGE_WARNING);
}