summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-09-22 07:46:50 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-09-22 07:46:50 +0200
commit0bfa1ee9ba939376b7c0e2958e3a2af98e92bed4 (patch)
tree8593041d64e1cd26194fff5c563f56197ba207ea /src/plugins
parent1129a1f3e534db41711e55f3a4cd1e102e0c493e (diff)
downloadweechat-0bfa1ee9ba939376b7c0e2958e3a2af98e92bed4.zip
Fix display of away indicator in irc buffer name bar item
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-bar-item.c3
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 282fbb720..897f01b10 100644
--- a/src/plugins/irc/irc-bar-item.c
+++ b/src/plugins/irc/irc-bar-item.c
@@ -54,8 +54,9 @@ irc_bar_item_buffer_name (void *data, struct t_gui_bar_item *item,
if (!window)
window = weechat_current_window;
-
+
buf_name[0] = '\0';
+ away[0] = '\0';
buffer = weechat_window_get_pointer (window, "buffer");