From 72b86741931bdfd5a45648e5156d9d1ae728f023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 1 Mar 2015 09:47:47 +0100 Subject: python: fix name of function "bar_update" in case of error --- ChangeLog.asciidoc | 1 + src/plugins/python/weechat-python-api.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.asciidoc b/ChangeLog.asciidoc index 1159a7a8d..eb3a483ce 100644 --- a/ChangeLog.asciidoc +++ b/ChangeLog.asciidoc @@ -36,6 +36,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes] * relay: fix up/down keys on relay buffer (closes #335) * relay: remove v4-mapped addresses in /help relay.network.allowed_ips (closes #325) +* python: fix name of function "bar_update" in case of error * python: fix restore of old interpreter when a function is not found in the script * scripts: fix type of value returned by function hdata_time (from string to 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); -- cgit v1.2.3