summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-03-25 10:56:05 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-25 10:56:05 +0100
commitbabb3abff45b85745baa2c5a5790b25367683ebd (patch)
treeb8633893818553d74eca43871b79b39a0ea6407e /src/plugins
parent92ec36eced36b0832ce90c417ae1bddbf4a7d2e4 (diff)
downloadweechat-babb3abff45b85745baa2c5a5790b25367683ebd.zip
exec: allow clear of new buffers with /buffer clear
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/exec/exec-buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/exec/exec-buffer.c b/src/plugins/exec/exec-buffer.c
index f8abd3295..0ddbc8dbe 100644
--- a/src/plugins/exec/exec-buffer.c
+++ b/src/plugins/exec/exec-buffer.c
@@ -147,6 +147,7 @@ exec_buffer_new (const char *name, int free_content, int clear_buffer,
if (free_content)
weechat_buffer_set (new_buffer, "type", "free");
+ weechat_buffer_set (new_buffer, "clear", "1");
weechat_buffer_set (new_buffer, "title", _("Executed commands"));
weechat_buffer_set (new_buffer, "localvar_set_type", "exec");
weechat_buffer_set (new_buffer, "localvar_set_no_log", "1");