mirror of
https://github.com/e107inc/e107.git
synced 2025-04-19 20:21:51 +02:00
Banlist - many entries in the banlog.log #1325
Only whrite Blacklist IP's to banlog.log Closes #1325
This commit is contained in:
parent
b182f463cb
commit
4789e79719
@ -169,9 +169,9 @@ class eIPHandler
|
||||
$ipStatus = $this->checkIP($this->ourIP);
|
||||
if ($ipStatus != 0)
|
||||
{
|
||||
$this->logBanItem($ipStatus, 'result --> '.$ipStatus);
|
||||
if ($ipStatus < 0)
|
||||
{ // Blacklisted
|
||||
$this->logBanItem($ipStatus, 'result --> '.$ipStatus); // only log blacklist
|
||||
$this->banAction($ipStatus); // This will abort if appropriate
|
||||
}
|
||||
elseif ($ipStatus > 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user