diff --git a/chat.php b/chat.php index 0f6d7d9..7d0084a 100644 --- a/chat.php +++ b/chat.php @@ -308,7 +308,7 @@ function send_redirect($url){ function send_access_denied(){ global $H, $I, $U; - header('HTTP/1.1 401 Forbidden'); + header('HTTP/1.1 403 Forbidden'); print_start('access_denied'); echo "

$I[accessdenied]

".sprintf($I['loggedinas'], style_this($U['nickname'], $U['style'])); echo "
<$H[form]>$H[commonform]".hidden('action', 'logout');