summaryrefslogtreecommitdiff
path: root/src/plugins/demo
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-10-07 14:29:46 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-10-07 14:29:46 +0200
commitd5b78f0d8f2f0d30c0bef610db4ec80fc0f1f9e1 (patch)
tree16280869e3d70ac1e522d70ea554c02291da179b /src/plugins/demo
parent44944ef01ff2c0b81d4b6d6ce6d0f95ee6dd35a5 (diff)
downloadweechat-d5b78f0d8f2f0d30c0bef610db4ec80fc0f1f9e1.zip
Add backlog for IRC channel and private buffers
Diffstat (limited to 'src/plugins/demo')
-rw-r--r--src/plugins/demo/demo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c
index 46437f93b..08c4dc5fd 100644
--- a/src/plugins/demo/demo.c
+++ b/src/plugins/demo/demo.c
@@ -171,9 +171,11 @@ demo_buffer_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
&demo_buffer_input_data_cb, NULL,
&demo_buffer_close_cb, NULL);
if (new_buffer)
+ {
weechat_buffer_set (new_buffer, "display", "1");
- weechat_hook_signal_send ("logger_backlog",
- WEECHAT_HOOK_SIGNAL_POINTER, new_buffer);
+ weechat_hook_signal_send ("logger_backlog",
+ WEECHAT_HOOK_SIGNAL_POINTER, new_buffer);
+ }
}
return WEECHAT_RC_OK;