relay: do not send join for private buffers to client

This commit is contained in:
Sebastien Helleu 2011-03-01 17:44:15 +01:00
parent 6f047c4a05
commit bf2f7d33ef
2 changed files with 6 additions and 2 deletions

View File

@ -31,6 +31,7 @@ Version 0.3.5 (under dev!)
* irc: add many missing commands for target buffer (options irc.msgbuffer.xxx)
(bug #32216)
* lua: fix crash when many scripts are executing callbacks at same time
* relay: do not send join for private buffers to client
* rmodifier: fix reload of file rmodifier.conf
* rmodifier: fix crash when adding rmodifier with invalid regex
* xfer: do not close chat buffers when removing xfer from list (bug #32271)

View File

@ -563,10 +563,13 @@ relay_client_irc_send_join_channels (struct t_relay_client *client)
if (infolist_channels)
{
while (weechat_infolist_next (infolist_channels))
{
if (weechat_infolist_integer (infolist_channels, "nicks_count") > 0)
{
channel = weechat_infolist_string (infolist_channels, "name");
relay_client_irc_send_join (client, channel);
}
}
weechat_infolist_free (infolist_channels);
}
}