diff options
author | default <nobody@localhost> | 2022-11-02 04:53:50 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-11-02 04:53:50 +0100 |
commit | 764178fb347375fb151d953f06329e560d5ad6a9 (patch) | |
tree | 7eb60c4a6f3b8dbe860ff2ec83a02239074834aa /html.c | |
parent | 34a2b47e85351a6fcab123ca0124229d5058c47b (diff) |
Added the @user@host id in the HTML title.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -155,7 +155,11 @@ d_char *html_user_header(snac *snac, d_char *s, int local) } { - xs *s1 = xs_fmt("<title>%s</title>\n", xs_dict_get(snac->config, "name")); + xs *s1 = xs_fmt("<title>%s (@%s@%s)</title>\n", + xs_dict_get(snac->config, "name"), + snac->uid, + xs_dict_get(srv_config, "host")); + s = xs_str_cat(s, s1); } |