summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-11-02 04:53:50 +0100
committerdefault <nobody@localhost>2022-11-02 04:53:50 +0100
commit764178fb347375fb151d953f06329e560d5ad6a9 (patch)
tree7eb60c4a6f3b8dbe860ff2ec83a02239074834aa
parent34a2b47e85351a6fcab123ca0124229d5058c47b (diff)
Added the @user@host id in the HTML title.
-rw-r--r--html.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/html.c b/html.c
index ef829f9..dc5ee19 100644
--- a/html.c
+++ b/html.c
@@ -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);
}