Don't interpret #() for display-message, it usually doesn't make sense and may

leak commands.
This commit is contained in:
Nicholas Marriott
2009-11-19 10:22:06 +00:00
parent 8d4eae5662
commit ac5b7d518e
5 changed files with 30 additions and 15 deletions

View File

@@ -55,7 +55,7 @@ cmd_display_message_exec(struct cmd *self, struct cmd_ctx *ctx)
else
template = data->arg;
msg = status_replace(c, template, time(NULL));
msg = status_replace(c, template, time(NULL), 0);
status_message_set(c, "%s", msg);
xfree(msg);