summaryrefslogtreecommitdiff
path: root/src/gui/gui-action.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-01-22 21:30:19 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-01-22 21:30:19 +0000
commit8cd841044813966b08804bfbd38a316d1ec3a659 (patch)
tree94f8bd1d6f3d8bbeef5a25594730b7d8229e1d32 /src/gui/gui-action.c
parent1cbdbffa4057c06ab1743b85032d73601b34b7e0 (diff)
downloadweechat-8cd841044813966b08804bfbd38a316d1ec3a659.zip
Fixed bugs: buffer detection in plugins/scripts commands, and /history command
Diffstat (limited to 'src/gui/gui-action.c')
-rw-r--r--src/gui/gui-action.c3
1 files changed, 2 insertions, 1 deletions
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);
}
}