mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 16:53:14 +02:00
irc: force the clear of nicklist when joining a channel (nicklist was not sync after znc reconnection) (bug #36008)
This commit is contained in:
@@ -557,6 +557,14 @@ IRC_PROTOCOL_CALLBACK(join)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* local join? clear nicklist to be sure it is empty (when using znc, after
|
||||
* reconnection to network, we receive a JOIN for channel with existing
|
||||
* nicks in irc plugin, so we need to clear the nicklist now)
|
||||
*/
|
||||
if (local_join)
|
||||
irc_nick_free_all (server, ptr_channel);
|
||||
|
||||
/* reset some variables if joining new channel */
|
||||
if (!ptr_channel->nicks)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user