summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scripts/python')
-rw-r--r--src/plugins/scripts/python/weechat-python-api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/scripts/python/weechat-python-api.c b/src/plugins/scripts/python/weechat-python-api.c
index 839d4c903..2c77a00db 100644
--- a/src/plugins/scripts/python/weechat-python-api.c
+++ b/src/plugins/scripts/python/weechat-python-api.c
@@ -5186,9 +5186,9 @@ weechat_python_api_bar_set (PyObject *self, PyObject *args)
PYTHON_RETURN_ERROR;
}
- weechat_buffer_set (script_str2ptr (bar),
- property,
- value);
+ weechat_bar_set (script_str2ptr (bar),
+ property,
+ value);
PYTHON_RETURN_OK;
}