snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 2611c816b01d3999ffcf3b59c0d3592908054950
parent 468b7a38885152cb2d61537abfdd9a4cda9c847a
Author: default <nobody@localhost>
Date:   Tue, 21 Jan 2025 20:25:50 +0100

Hide the 'relay' user from the greeting list.

Diffstat:
Mhttpd.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/httpd.c b/httpd.c @@ -138,7 +138,7 @@ static xs_str *greeting_html(void) while (xs_list_iter(&p, &uid)) { snac user; - if (user_open(&user, uid)) { + if (strcmp(uid, "relay") && user_open(&user, uid)) { xs_html_add(ul, xs_html_tag("li", xs_html_tag("a",