Fixed bug/typo

This commit is contained in:
Savetheinternet 2011-02-16 22:04:53 +11:00
parent e4cb574018
commit 3b3e696427

View File

@ -44,7 +44,7 @@
$_SESSION['mod'] = $mod; $_SESSION['mod'] = $mod;
// Lock sessions to IP addresses // Lock sessions to IP addresses
if($mod['lock_ip']) if($config['mod']['lock_ip'])
$_SESSION['mod']['ip'] = $_SERVER['REMOTE_ADDR']; $_SESSION['mod']['ip'] = $_SERVER['REMOTE_ADDR'];
} }