From bee62989f622d6bc8785207f47cff68edb196d14 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 11 May 2007 14:59:12 +0000 Subject: Code cleanup: renamed IRC functions to have uniform name (with prefix based on source name), moved some functions --- src/plugins/scripts/python/weechat-python.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/plugins/scripts/python') 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); -- cgit v1.2.3