1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

Added hostnames associeted to nicks in plugins/scripts

This commit is contained in:
Emmanuel Bouthenot
2006-04-08 21:03:31 +00:00
parent c525b231e4
commit 1f03444a6b
12 changed files with 26 additions and 4 deletions
+3 -1
View File
@@ -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);
}
}