summaryrefslogtreecommitdiff
path: root/src/core/hook/wee-hook-line.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hook/wee-hook-line.c')
-rw-r--r--src/core/hook/wee-hook-line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hook/wee-hook-line.c b/src/core/hook/wee-hook-line.c
index f4b605964..6c1d3f03c 100644
--- a/src/core/hook/wee-hook-line.c
+++ b/src/core/hook/wee-hook-line.c
@@ -71,7 +71,7 @@ hook_line (struct t_weechat_plugin *plugin, const char *buffer_type,
new_hook->hook_data = new_hook_line;
new_hook_line->callback = callback;
if (!buffer_type || !buffer_type[0])
- new_hook_line->buffer_type = GUI_BUFFER_TYPE_FORMATTED;
+ new_hook_line->buffer_type = GUI_BUFFER_TYPE_DEFAULT;
else if (strcmp (buffer_type, "*") == 0)
new_hook_line->buffer_type = -1;
else