summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
Diffstat (limited to 'play')
-rw-r--r--play/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/play/index.php b/play/index.php
index 9878af0b..dde92d05 100644
--- a/play/index.php
+++ b/play/index.php
@@ -195,6 +195,9 @@ header("Accept-Ranges: bytes" );
// Prevent the script from timing out
set_time_limit(0);
+/* We're about to start record this persons IP */
+$user->insert_ip_history();
+
/* If access control is on and they aren't local, downsample! */
if (conf('access_control') AND conf('downsample_remote')) {
if (!$access->check('network',$_SERVER['REMOTE_ADDR'],$GLOBALS['user']->username,'25')) {