summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-01-30 12:46:44 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-01-30 12:46:44 +0100
commit5650f035dd4f9f32ba7156ba229e684ac6b18bf6 (patch)
tree99be3912a52e7a9298e91e1ee047be3b97f54e10 /src/plugins/irc/irc-command.c
parent228ef56860c4f754576f6d44bd2b5b31195a2c2f (diff)
downloadweechat-5650f035dd4f9f32ba7156ba229e684ac6b18bf6.zip
Fix problem with read marker when manually switching to other buffer with some commands like /query
Diffstat (limited to 'src/plugins/irc/irc-command.c')
-rw-r--r--src/plugins/irc/irc-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index d687fbed4..cad86a5d9 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -2514,7 +2514,7 @@ irc_command_query (void *data, struct t_gui_buffer *buffer, int argc,
{
ptr_channel = irc_channel_new (ptr_server,
IRC_CHANNEL_TYPE_PRIVATE,
- argv[1], 1);
+ argv[1], 1, 0);
if (!ptr_channel)
{
weechat_printf (ptr_server->buffer,