1
0
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:
Sebastien Helleu
2012-03-26 15:12:05 +02:00
parent 0a08581f1b
commit 272046d012
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -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)
{