summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2025-01-21 20:25:50 +0100
committerGravatar default2025-01-21 20:25:50 +0100
commit2611c816b01d3999ffcf3b59c0d3592908054950 (patch)
tree08605891755e2e074155a9b4591708c911669480 /httpd.c
parentUpdated documentation. (diff)
downloadpenes-snac2-2611c816b01d3999ffcf3b59c0d3592908054950.tar.gz
penes-snac2-2611c816b01d3999ffcf3b59c0d3592908054950.tar.xz
penes-snac2-2611c816b01d3999ffcf3b59c0d3592908054950.zip
Hide the 'relay' user from the greeting list.
Diffstat (limited to '')
-rw-r--r--httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index c13402b..e0a36b6 100644
--- a/httpd.c
+++ b/httpd.c
@@ -138,7 +138,7 @@ static xs_str *greeting_html(void)
138 while (xs_list_iter(&p, &uid)) { 138 while (xs_list_iter(&p, &uid)) {
139 snac user; 139 snac user;
140 140
141 if (user_open(&user, uid)) { 141 if (strcmp(uid, "relay") && user_open(&user, uid)) {
142 xs_html_add(ul, 142 xs_html_add(ul,
143 xs_html_tag("li", 143 xs_html_tag("li",
144 xs_html_tag("a", 144 xs_html_tag("a",