summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mod.php b/inc/mod.php
index 4e82aaeb..89ab8d35 100644
--- a/inc/mod.php
+++ b/inc/mod.php
@@ -44,7 +44,7 @@
$_SESSION['mod'] = $mod;
// Lock sessions to IP addresses
- if($mod['lock_ip'])
+ if($config['mod']['lock_ip'])
$_SESSION['mod']['ip'] = $_SERVER['REMOTE_ADDR'];
}