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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user