summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/python/weechat-python-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/weechat-python-api.c b/src/plugins/python/weechat-python-api.c
index a270b0db6..160e0226c 100644
--- a/src/plugins/python/weechat-python-api.c
+++ b/src/plugins/python/weechat-python-api.c
@@ -4025,7 +4025,7 @@ API_FUNC(bar_update)
{
char *name;
- API_INIT_FUNC(1, "bar_item", API_RETURN_ERROR);
+ API_INIT_FUNC(1, "bar_update", API_RETURN_ERROR);
name = NULL;
if (!PyArg_ParseTuple (args, "s", &name))
API_WRONG_ARGS(API_RETURN_ERROR);