mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
Clear nicklist for all channels when disconnected from IRC server
This commit is contained in:
@@ -2254,6 +2254,7 @@ irc_server_disconnect (struct t_irc_server *server, int reconnect)
|
||||
for (ptr_channel = server->channels; ptr_channel;
|
||||
ptr_channel = ptr_channel->next_channel)
|
||||
{
|
||||
irc_nick_free_all (ptr_channel);
|
||||
weechat_printf (ptr_channel->buffer,
|
||||
_("%s: disconnected from server"),
|
||||
"irc");
|
||||
|
||||
Reference in New Issue
Block a user