diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-05-11 14:59:12 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-05-11 14:59:12 +0000 |
commit | bee62989f622d6bc8785207f47cff68edb196d14 (patch) | |
tree | 175df1f7f8fcae5aa21b8a96e9736009c0ee31b5 /src/plugins/scripts/python | |
parent | 7579529d94514dd2c98815017e1344008f766d53 (diff) | |
download | weechat-bee62989f622d6bc8785207f47cff68edb196d14.zip |
Code cleanup: renamed IRC functions to have uniform name (with prefix based on source name), moved some functions
Diffstat (limited to 'src/plugins/scripts/python')
-rw-r--r-- | src/plugins/scripts/python/weechat-python.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index ca73eafb4..ff0e69485 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -1612,6 +1612,12 @@ weechat_python_get_server_info (PyObject *self, PyObject *args) PyDict_SetItem(server_hash_member, key, value); Py_DECREF (key); Py_DECREF (value); + + key = Py_BuildValue("s", "prefix"); + value = Py_BuildValue("s", ptr_server->prefix); + PyDict_SetItem(server_hash_member, key, value); + Py_DECREF (key); + Py_DECREF (value); key = Py_BuildValue("s", "away_time"); value = Py_BuildValue("s", timebuffer); |