@@ -40,7 +40,7 @@ $stats = true;
$tok = new token;
$act = new action;
-if($act->isBlocked($_SERVER['REMOTE_ADDR'])) {
+if($act->isBlocked(ip2long(substr(trim($_SERVER['REMOTE_ADDR']),0,15)))) {
http_response_code(403);
exit;
}