summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/ruby/weechat-ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scripts/ruby/weechat-ruby.c')
-rw-r--r--src/plugins/scripts/ruby/weechat-ruby.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/scripts/ruby/weechat-ruby.c b/src/plugins/scripts/ruby/weechat-ruby.c
index 1f6b8d933..45d066cf0 100644
--- a/src/plugins/scripts/ruby/weechat-ruby.c
+++ b/src/plugins/scripts/ruby/weechat-ruby.c
@@ -1470,7 +1470,9 @@ weechat_ruby_get_nick_info (VALUE class, VALUE server, VALUE channel)
{
rb_hash_aset (nick_hash_member, rb_str_new2("flags"),
INT2FIX(ptr_nick->flags));
-
+ rb_hash_aset (nick_hash_member, rb_str_new2("host"),
+ rb_str_new2(ptr_nick->host));
+
rb_hash_aset (nick_hash, rb_str_new2(ptr_nick->nick), nick_hash_member);
}
}