1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +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
+2
View File
@@ -20,6 +20,8 @@ Version 0.3.8 (under dev!)
given to plugin API functions (warning displayed if debug for plugin is >= 1)
* api: add list "gui_buffer_last_displayed" in hdata "buffer"
* guile: add missing function "hook_process_hashtable" in API
* irc: force the clear of nicklist when joining a channel (nicklist was not sync
after znc reconnection) (bug #36008)
* irc: allow more than one nick in command /invite
* irc: do not send command "MODE #channel" on manual /names (do it only when
names are received on join of channel) (bug #35930)
+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)
{