diff options
author | nicm <nicm> | 2019-03-14 21:27:26 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-03-14 21:27:26 +0000 |
commit | 1416ceb57589ba119a36d9f32d919d3444f7b0d0 (patch) | |
tree | eda552bce94a02e9a625eddea76c1f8bb45b5529 /server-client.c | |
parent | 9bd4b96766cbbdc8f8e166baf726d69e8a6024ff (diff) |
Accept 0 time as a shorthand for now to format_expand_time.
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |