fix: [copy pasta fail] left previous assignment in that is now superseeded by the if branch above
parent
9245b2d720
commit
b67c221476
|
@ -25,7 +25,6 @@ class FloodProtectionComponent extends Component
|
|||
} else {
|
||||
$this->remote_ip = '127.0.0.1';
|
||||
}
|
||||
$this->remote_ip = $_SERVER[$ip_source];
|
||||
$temp = explode(PHP_EOL, $_SERVER[$ip_source]);
|
||||
if (count($temp) > 1) {
|
||||
$this->remote_ip = $temp[0];
|
||||
|
|
Loading…
Reference in New Issue