From a13ad6368fad33535a19f65aed7f5e4fa3a0ec8d Mon Sep 17 00:00:00 2001 From: Mihail Fedorov Date: Tue, 22 Dec 2015 06:02:41 +0300 Subject: [PATCH] MD5 instead of IP --- lib/trafficlimiter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/trafficlimiter.php b/lib/trafficlimiter.php index ea351010..2af99d73 100644 --- a/lib/trafficlimiter.php +++ b/lib/trafficlimiter.php @@ -79,7 +79,7 @@ class trafficlimiter extends persistence */ public static function getIp() { - return $_SERVER[self::$_ipKey]; + return md5($_SERVER[self::$_ipKey]); } /**