diff --git a/plugins/python/python.c b/plugins/python/python.c index b97761f5..34784c3b 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -1726,7 +1726,7 @@ Module_hexchat_get_info(PyObject *self, PyObject *args) if (info == NULL) { Py_RETURN_NONE; } - if (strcmp (name, "gtkwin_ptr") == 0) + if (strcmp (name, "gtkwin_ptr") == 0 || strcmp (name, "win_ptr") == 0) return PyUnicode_FromFormat("%p", info); /* format as pointer */ else return PyUnicode_FromString(info);