From 0c46b3e47f965c1868a45420e72eeede215a5e30 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Sun, 22 Feb 2026 11:01:51 +0100 Subject: [PATCH] Accept ipv6 addresses as moderator. "http_authentication_method=None" will bypass HTTP AUTH and take the IP address as user name, but the "moderator" column in each database is limited to 20 chars, whereas IPv6 addresses may be as long as 39 chars. IPv6 was clearly not a consideration for development. Signed-off-by: Thomas Hochstein --- samples/mysql/create.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/mysql/create.sql b/samples/mysql/create.sql index 6ecf883..07f1161 100644 --- a/samples/mysql/create.sql +++ b/samples/mysql/create.sql @@ -34,7 +34,7 @@ CREATE TABLE @sample@ ( Header longblob NOT NULL, Body longblob NOT NULL, Spamcount float DEFAULT 0.0, - Moderator varchar(20), + Moderator varchar(40), Moddatum DATETIME, checksum char(40) UNIQUE, flag bool DEFAULT 0,