summaryrefslogtreecommitdiff
path: root/src/plugins/python/weechat-python-api.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-03-01 09:47:47 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-03-01 09:47:47 +0100
commit72b86741931bdfd5a45648e5156d9d1ae728f023 (patch)
treee9d0149b983ebcd712f0ffa78dc4039337431a4f /src/plugins/python/weechat-python-api.c
parent79afeb2111f6d85f158a5daf825c65b6a03e0fc8 (diff)
downloadweechat-72b86741931bdfd5a45648e5156d9d1ae728f023.zip
python: fix name of function "bar_update" in case of error
Diffstat (limited to 'src/plugins/python/weechat-python-api.c')
-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);