summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-protocol.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-protocol.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-protocol.c')
-rw-r--r--src/plugins/irc/irc-protocol.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 5d8af3b3b..8ff61d755 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -334,7 +334,7 @@ irc_protocol_cmd_join (struct t_irc_server *server, const char *command,
if (!ptr_channel)
{
ptr_channel = irc_channel_new (server, IRC_CHANNEL_TYPE_CHANNEL,
- pos_channel, 1);
+ pos_channel, 1, 1);
if (!ptr_channel)
{
weechat_printf (server->buffer,
@@ -864,7 +864,7 @@ irc_protocol_cmd_notice (struct t_irc_server *server, const char *command,
{
ptr_channel = irc_channel_new (server,
IRC_CHANNEL_TYPE_PRIVATE,
- nick, 0);
+ nick, 0, 0);
if (!ptr_channel)
{
weechat_printf (server->buffer,
@@ -1959,7 +1959,7 @@ irc_protocol_cmd_privmsg (struct t_irc_server *server, const char *command,
{
ptr_channel = irc_channel_new (server,
IRC_CHANNEL_TYPE_PRIVATE,
- nick, 0);
+ nick, 0, 0);
if (!ptr_channel)
{
weechat_printf (server->buffer,
@@ -2071,7 +2071,7 @@ irc_protocol_cmd_privmsg (struct t_irc_server *server, const char *command,
{
ptr_channel = irc_channel_new (server,
IRC_CHANNEL_TYPE_PRIVATE,
- nick, 0);
+ nick, 0, 0);
if (!ptr_channel)
{
weechat_printf (server->buffer,