From 8408edd1f8be19d13330dd1d60b731b21df0db6d Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Tue, 26 Apr 2016 12:27:39 +0200 Subject: [PATCH] Fix incorrect header --- chat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');