1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00

Fix problem with read marker when manually switching to other buffer with some commands like /query

This commit is contained in:
Sebastien Helleu
2009-01-30 12:46:44 +01:00
parent 228ef56860
commit 5650f035dd
13 changed files with 32 additions and 18 deletions
+4 -4
View File
@@ -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,