summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index 5e56d05e..d8093980 100644
--- a/play/index.php
+++ b/play/index.php
@@ -72,7 +72,7 @@ if (make_bool($GLOBALS['user']->disabled)) {
// If require session is set then we need to make sure we're legit
if (Config::get('require_session')) {
- if (!Config::get('require_localnet_session') AND Config::get('access_control') AND Access::check_network('network',$_SERVER['REMOTE_ADDR'],$GLOBALS['user']->id,'5')) {
+ if (!Config::get('require_localnet_session') AND Access::check_network('network',$_SERVER['REMOTE_ADDR'],$GLOBALS['user']->id,'5')) {
// Localnet defined IP and require localnot session has been turned off we let this one through
debug_event('LocalNet','Streaming Access Granted to Localnet defined IP ' . $_SERVER['REMOTE_ADDR'],'5');
}