diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-02-06 12:17:13 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-02-06 12:17:13 +0100 |
commit | df1a6b0c3ddbc1dd181de69b2e5a18e0e5ae876c (patch) | |
tree | 8fdc5742730a73ec05318c52466ecbb70cd24cb5 /src/plugins/irc/irc-bar-item.c | |
parent | bd1b6c1794daaf18d11306c35a89a3f0f8e348bb (diff) | |
download | weechat-df1a6b0c3ddbc1dd181de69b2e5a18e0e5ae876c.zip |
Fix bug with option irc.look.item_nick_prefix
Diffstat (limited to 'src/plugins/irc/irc-bar-item.c')
-rw-r--r-- | src/plugins/irc/irc-bar-item.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-bar-item.c b/src/plugins/irc/irc-bar-item.c index 285e45693..5025f2a44 100644 --- a/src/plugins/irc/irc-bar-item.c +++ b/src/plugins/irc/irc-bar-item.c @@ -423,7 +423,8 @@ irc_bar_item_input_prompt (void *data, struct t_gui_bar_item *item, /* build prefix */ str_prefix[0] = '\0'; - if (channel) + if (weechat_config_boolean (irc_config_look_item_nick_prefix) + && channel) { ptr_nick = irc_nick_search (channel, server->nick); if (ptr_nick) |