summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-server.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-10-20 11:31:02 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-10-20 11:31:02 +0200
commit533155816dec43a5c9861c7e648736a8d5122c14 (patch)
tree44b2d1796b3a236360d12971d39ce460fc23a9e7 /src/plugins/irc/irc-server.c
parenta33e44c7e1474e5efc28809c8adaaf2c58f4b0d3 (diff)
downloadweechat-533155816dec43a5c9861c7e648736a8d5122c14.zip
Add some buffer infos in IRC infolists hooked
Diffstat (limited to 'src/plugins/irc/irc-server.c')
-rw-r--r--src/plugins/irc/irc-server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index ac817e609..5fff09da5 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -2845,6 +2845,10 @@ irc_server_add_to_infolist (struct t_infolist *infolist,
(server->buffer) ?
weechat_buffer_get_string (server->buffer, "name") : ""))
return 0;
+ if (!weechat_infolist_new_var_string (ptr_item, "buffer_short_name",
+ (server->buffer) ?
+ weechat_buffer_get_string (server->buffer, "short_name") : ""))
+ return 0;
if (!weechat_infolist_new_var_integer (ptr_item, "selected",
(weechat_config_boolean (irc_config_look_one_server_buffer)
&& (irc_current_server != server)) ?