Remove two unused arguments from status_replace.

This commit is contained in:
nicm
2015-02-01 23:43:23 +00:00
parent 4e03239d1f
commit c9642ee213
4 changed files with 27 additions and 28 deletions

View File

@@ -779,7 +779,7 @@ server_client_set_title(struct client *c)
template = options_get_string(&s->options, "set-titles-string");
title = status_replace(c, NULL, NULL, NULL, template, time(NULL), 1);
title = status_replace(c, NULL, template, time(NULL), 1);
if (c->title == NULL || strcmp(title, c->title) != 0) {
free(c->title);
c->title = xstrdup(title);