mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 10:50:25 +02:00
Merge pull request #1332 from MikeyGMT/master
Banlist - many entries in the banlog.log #1325
This commit is contained in:
@@ -169,9 +169,9 @@ class eIPHandler
|
|||||||
$ipStatus = $this->checkIP($this->ourIP);
|
$ipStatus = $this->checkIP($this->ourIP);
|
||||||
if ($ipStatus != 0)
|
if ($ipStatus != 0)
|
||||||
{
|
{
|
||||||
$this->logBanItem($ipStatus, 'result --> '.$ipStatus);
|
|
||||||
if ($ipStatus < 0)
|
if ($ipStatus < 0)
|
||||||
{ // Blacklisted
|
{ // Blacklisted
|
||||||
|
$this->logBanItem($ipStatus, 'result --> '.$ipStatus); // only log blacklist
|
||||||
$this->banAction($ipStatus); // This will abort if appropriate
|
$this->banAction($ipStatus); // This will abort if appropriate
|
||||||
}
|
}
|
||||||
elseif ($ipStatus > 0)
|
elseif ($ipStatus > 0)
|
||||||
|
Reference in New Issue
Block a user