From 2bd73a378571fa4d645afc6d7c99dde49befcd0f Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sun, 31 Aug 2025 17:42:46 +0200 Subject: [PATCH] Use PNG format instead of GIF for captchas, to lessen artifacts. --- chat.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chat.php b/chat.php index ae47db3..659a282 100644 --- a/chat.php +++ b/chat.php @@ -683,7 +683,7 @@ function send_captcha(): void $fg=imagecolorallocate($im, 255, 255, 255); imagefill($im, 0, 0, $bg); imagestring($im, 5, 5, 5, $code, $fg); - echo ''; echo ''.hidden('challenge', $randid).'';