mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 19:53:13 +02:00
Display nick prefix in input_prompt only if channel is type "channel" (not private)
This commit is contained in:
@@ -424,7 +424,8 @@ irc_bar_item_input_prompt (void *data, struct t_gui_bar_item *item,
|
||||
/* build prefix */
|
||||
str_prefix[0] = '\0';
|
||||
if (weechat_config_boolean (irc_config_look_item_nick_prefix)
|
||||
&& channel)
|
||||
&& channel
|
||||
&& (channel->type == IRC_CHANNEL_TYPE_CHANNEL))
|
||||
{
|
||||
ptr_nick = irc_nick_search (channel, server->nick);
|
||||
if (ptr_nick)
|
||||
|
||||
Reference in New Issue
Block a user