mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 17:23:15 +02:00
irc: remove redefinition of bar item "input_prompt"
The new buffer property "input_prompt" is used instead.
This commit is contained in:
@@ -692,7 +692,7 @@ irc_nick_set_mode (struct t_irc_server *server, struct t_irc_channel *channel,
|
||||
|
||||
if (irc_server_strcasecmp (server, nick->name, server->nick) == 0)
|
||||
{
|
||||
weechat_bar_item_update ("input_prompt");
|
||||
irc_server_set_buffer_input_prompt (server);
|
||||
weechat_bar_item_update ("irc_nick");
|
||||
weechat_bar_item_update ("irc_nick_host");
|
||||
}
|
||||
@@ -813,6 +813,8 @@ irc_nick_free_all (struct t_irc_server *server, struct t_irc_channel *channel)
|
||||
|
||||
/* should be zero, but prevent any bug :D */
|
||||
channel->nicks_count = 0;
|
||||
|
||||
irc_channel_set_buffer_input_prompt (server, channel);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user