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/python/weechat-python.c | |
parent | c525b231e4a5c39d708fdf25b87c25f3d8a769bb (diff) | |
download | weechat-1f03444a6b4597d799add41d77e450e722abc105.zip |
Added hostnames associeted to nicks in plugins/scripts
Diffstat (limited to 'src/plugins/scripts/python/weechat-python.c')
-rw-r--r-- | src/plugins/scripts/python/weechat-python.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 572130906..ee089fa9c 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -1230,6 +1230,8 @@ weechat_python_get_nick_info (PyObject *self, PyObject *args) { PyDict_SetItem(nick_hash_member, Py_BuildValue("s", "flags"), Py_BuildValue("i", ptr_nick->flags)); + PyDict_SetItem(nick_hash_member, Py_BuildValue("s", "host"), + Py_BuildValue("s", ptr_nick->host)); PyDict_SetItem(nick_hash, Py_BuildValue("s", ptr_nick->nick), nick_hash_member); } |