diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-07-28 11:33:11 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-07-28 11:33:11 +0200 |
commit | 734fe231c97fdf340dfd612a72fed7ddbb91840c (patch) | |
tree | d1a23ec74557f732e3cf15284901228702274fe0 | |
parent | a45048bfbf98f159ecbac4f063a8842744a13e8d (diff) | |
download | weechat-734fe231c97fdf340dfd612a72fed7ddbb91840c.zip |
Use tags "no_log" and "cmd_history" for output of command /history (output is not logged and can be filtered on tag)
-rw-r--r-- | src/core/wee-command.c | 8 |
1 files 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; } } |