Update chat.inc.php

This commit is contained in:
Nathan Patten 2014-02-24 21:12:15 +11:00
parent d5c63ff824
commit 966d32036b

View File

@ -5,10 +5,12 @@ $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
switch($setting->getValue('acl_chat_page', 2)) {
case '0':
if ($user->isAuthenticated()) {
$smarty->assign('CHATROOM', $setting->getValue('system_irc_chat', '#lazypoolop'));
$smarty->assign("CONTENT", "default.tpl");
}
break;
case '1':
$smarty->assign('CHATROOM', $setting->getValue('system_irc_chat', '#lazypoolop'));
$smarty->assign("CONTENT", "default.tpl");
break;
case '2':