1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Fix possible minor bug in getting hostnames in plugins/scripts

This commit is contained in:
Emmanuel Bouthenot
2006-04-08 21:37:26 +00:00
parent 1f03444a6b
commit 1bc997b238
8 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -1471,7 +1471,7 @@ 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_str_new2(ptr_nick->host ? ptr_nick->host : ""));
rb_hash_aset (nick_hash, rb_str_new2(ptr_nick->nick), nick_hash_member);
}