summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/scripts/python/weechat-python-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/scripts/python/weechat-python-api.c b/src/plugins/scripts/python/weechat-python-api.c
index 1bfe080fa..e6e9cb870 100644
--- a/src/plugins/scripts/python/weechat-python-api.c
+++ b/src/plugins/scripts/python/weechat-python-api.c
@@ -4858,8 +4858,8 @@ weechat_python_api_nicklist_remove_nick (PyObject *self, PyObject *args)
PYTHON_RETURN_ERROR;
}
- weechat_nicklist_remove_group (script_str2ptr (buffer),
- script_str2ptr (nick));
+ weechat_nicklist_remove_nick (script_str2ptr (buffer),
+ script_str2ptr (nick));
PYTHON_RETURN_OK;
}