From 734fe231c97fdf340dfd612a72fed7ddbb91840c Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 28 Jul 2010 11:33:11 +0200 Subject: [PATCH] Use tags "no_log" and "cmd_history" for output of command /history (output is not logged and can be filtered on tag) --- src/core/wee-command.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 5409256ca..313fb4074 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -1862,10 +1862,12 @@ command_history (void *data, struct t_gui_buffer *buffer, continue; if (!displayed) { - gui_chat_printf (buffer, ""); - gui_chat_printf (buffer, _("Buffer command history:")); + gui_chat_printf_date_tags (buffer, 0, "no_log,cmd_history", ""); + gui_chat_printf_date_tags (buffer, 0, "no_log,cmd_history", + _("Buffer command history:")); } - gui_chat_printf (buffer, "%s", ptr_history->text); + gui_chat_printf_date_tags (buffer, 0, "no_log,cmd_history", + "%s", ptr_history->text); displayed = 1; } }