From 8cd841044813966b08804bfbd38a316d1ec3a659 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 22 Jan 2006 21:30:19 +0000 Subject: Fixed bugs: buffer detection in plugins/scripts commands, and /history command --- src/gui/gui-action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/gui-action.c') diff --git a/src/gui/gui-action.c b/src/gui/gui-action.c index 702b070c4..bb208a667 100644 --- a/src/gui/gui-action.c +++ b/src/gui/gui-action.c @@ -108,7 +108,8 @@ gui_action_return (t_gui_window *window) window->buffer->completion.position = -1; window->buffer->ptr_history = NULL; gui_draw_buffer_input (window->buffer, 0); - user_command (window->buffer, SERVER(window->buffer), command); + user_command (SERVER(window->buffer), CHANNEL(window->buffer), + command); free (command); } } -- cgit v1.2.3