Răsfoiți Sursa

Hide the 'relay' user from the greeting list.

default 1 an în urmă
părinte
comite
2611c816b0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      httpd.c

+ 1 - 1
httpd.c

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