summaryrefslogtreecommitdiff
path: root/weechat/src/plugins/scripts/ruby/weechat-ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'weechat/src/plugins/scripts/ruby/weechat-ruby.c')
-rw-r--r--weechat/src/plugins/scripts/ruby/weechat-ruby.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/weechat/src/plugins/scripts/ruby/weechat-ruby.c b/weechat/src/plugins/scripts/ruby/weechat-ruby.c
index acd35fc3e..233ac0091 100644
--- a/weechat/src/plugins/scripts/ruby/weechat-ruby.c
+++ b/weechat/src/plugins/scripts/ruby/weechat-ruby.c
@@ -1707,6 +1707,8 @@ weechat_ruby_get_server_info (VALUE class)
rb_str_new2(ptr_server->nick));
rb_hash_aset (server_hash_member, rb_str_new2("nick_modes"),
rb_str_new2(ptr_server->nick_modes));
+ rb_hash_aset (server_hash_member, rb_str_new2("prefix"),
+ rb_str_new2(ptr_server->prefix));
rb_hash_aset (server_hash_member, rb_str_new2("away_time"),
rb_str_new2(timebuffer));
rb_hash_aset (server_hash_member, rb_str_new2("lag"),