Remove format_create_flags and just pass flags to format_create.

This commit is contained in:
nicm
2015-12-08 08:34:18 +00:00
parent 8f671d3eef
commit e0f26dcda3
22 changed files with 28 additions and 36 deletions

View File

@@ -88,7 +88,7 @@ cmd_display_message_exec(struct cmd *self, struct cmd_q *cmdq)
if (template == NULL)
template = DISPLAY_MESSAGE_TEMPLATE;
ft = format_create();
ft = format_create(0);
format_defaults(ft, c, s, wl, wp);
msg = format_expand_time(ft, template, time(NULL));