From 3b3e6964270006206e442d0a9a7dccaa92fe70dc Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 16 Feb 2011 22:04:53 +1100 Subject: [PATCH] Fixed bug/typo --- inc/mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; }