1
0
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:
Sebastien Helleu
2010-02-06 12:21:52 +01:00
parent df1a6b0c3d
commit 74d148d056
+2 -1
View File
@@ -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)