From 1416ceb57589ba119a36d9f32d919d3444f7b0d0 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 14 Mar 2019 21:27:26 +0000 Subject: Accept 0 time as a shorthand for now to format_expand_time. --- server-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server-client.c') diff --git a/server-client.c b/server-client.c index b7d052a0..5bd77c84 100644 --- a/server-client.c +++ b/server-client.c @@ -1537,7 +1537,7 @@ server_client_set_title(struct client *c) ft = format_create(c, NULL, FORMAT_NONE, 0); format_defaults(ft, c, NULL, NULL, NULL); - title = format_expand_time(ft, template, time(NULL)); + title = format_expand_time(ft, template, 0); if (c->title == NULL || strcmp(title, c->title) != 0) { free(c->title); c->title = xstrdup(title); -- cgit