1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +02:00

irc: remove redefinition of bar item "input_prompt"

The new buffer property "input_prompt" is used instead.
This commit is contained in:
Sébastien Helleu
2024-05-10 11:03:44 +02:00
parent 7634774327
commit 827a056790
9 changed files with 147 additions and 105 deletions
+3 -2
View File
@@ -2384,6 +2384,8 @@ IRC_PROTOCOL_CALLBACK(nick)
/* enable hotlist */
weechat_buffer_set (NULL, "hotlist", "+");
irc_server_set_buffer_input_prompt (ctxt->server);
}
else
{
@@ -6769,10 +6771,9 @@ IRC_PROTOCOL_CALLBACK(366)
{
weechat_hashtable_set (ptr_channel->join_msg_received, "353", "1");
weechat_hashtable_set (ptr_channel->join_msg_received, "366", "1");
irc_channel_set_buffer_input_prompt (ctxt->server, ptr_channel);
}
weechat_bar_item_update ("input_prompt");
return WEECHAT_RC_OK;
}