Update chat.inc.php

This commit is contained in:
Nathan Patten 2014-02-24 20:01:02 +11:00
parent a9cc0a9ec9
commit ae9c220521

View File

@ -2,7 +2,7 @@
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
// ACL check
switch($setting->getValue('system_chat_page', 2)) {
switch($setting->getValue('acl_chat_page', 2)) {
case '0':
if ($user->isAuthenticated()) {
$smarty->assign("CONTENT", "default.tpl");