1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-22 19:06:37 +02:00

Added hostnames associeted to nicks in plugins/scripts

This commit is contained in:
Emmanuel Bouthenot
2006-04-08 21:03:31 +00:00
parent c525b231e4
commit 1f03444a6b
12 changed files with 26 additions and 4 deletions
@@ -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);
}