mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
Fix possible minor bug in getting hostnames in plugins/scripts
This commit is contained in:
@@ -1490,7 +1490,8 @@ weechat_lua_get_nick_info (lua_State *L)
|
||||
lua_rawset (lua_current_interpreter, -3);
|
||||
|
||||
lua_pushstring (lua_current_interpreter, "host");
|
||||
lua_pushstring (lua_current_interpreter, ptr_nick->host);
|
||||
lua_pushstring (lua_current_interpreter,
|
||||
ptr_nick->host ? ptr_nick->host : "");
|
||||
lua_rawset (lua_current_interpreter, -3);
|
||||
|
||||
lua_rawset (lua_current_interpreter, -3);
|
||||
|
||||
Reference in New Issue
Block a user