From 4ebfc6d0240b77dbe6bd6a73a0c5e322e49739f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 3 Nov 2014 10:53:26 +0100 Subject: [PATCH] Fixed MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- libs/lib_general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/lib_general.php b/libs/lib_general.php index 62062d7..21cd6ab 100644 --- a/libs/lib_general.php +++ b/libs/lib_general.php @@ -99,7 +99,7 @@ function determineCrackerTrackerRealRemoteAddress () { if ($address == 'unknown') { // Invalid IP somehow given $address = '0.0.0.0'; - elseif (strstr($address, ',')) { + } elseif (strstr($address, ',')) { // This strips out the real address from proxy output $addressArray = explode(',', $address); $address = $addressArray[0]; -- 2.39.5