diff options
author | Emmanuel Bouthenot <kolter@openics.org> | 2006-04-08 21:03:31 +0000 |
---|---|---|
committer | Emmanuel Bouthenot <kolter@openics.org> | 2006-04-08 21:03:31 +0000 |
commit | 1f03444a6b4597d799add41d77e450e722abc105 (patch) | |
tree | 59bfbb8866d8ad74dc01dbb5adcfa4ed52147b29 /src/plugins/scripts/lua | |
parent | c525b231e4a5c39d708fdf25b87c25f3d8a769bb (diff) | |
download | weechat-1f03444a6b4597d799add41d77e450e722abc105.zip |
Added hostnames associeted to nicks in plugins/scripts
Diffstat (limited to 'src/plugins/scripts/lua')
-rw-r--r-- | src/plugins/scripts/lua/weechat-lua.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c index 889f2c300..a10711385 100644 --- a/src/plugins/scripts/lua/weechat-lua.c +++ b/src/plugins/scripts/lua/weechat-lua.c @@ -1488,6 +1488,10 @@ weechat_lua_get_nick_info (lua_State *L) lua_pushstring (lua_current_interpreter, "flags"); lua_pushnumber (lua_current_interpreter, ptr_nick->flags); lua_rawset (lua_current_interpreter, -3); + + lua_pushstring (lua_current_interpreter, "host"); + lua_pushstring (lua_current_interpreter, ptr_nick->host); + lua_rawset (lua_current_interpreter, -3); lua_rawset (lua_current_interpreter, -3); } |