summaryrefslogtreecommitdiff
path: root/src/plugins/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scripts')
-rw-r--r--src/plugins/scripts/python/weechat-python-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/python/weechat-python-api.c b/src/plugins/scripts/python/weechat-python-api.c
index 6ebf28d77..94214a865 100644
--- a/src/plugins/scripts/python/weechat-python-api.c
+++ b/src/plugins/scripts/python/weechat-python-api.c
@@ -2309,7 +2309,7 @@ weechat_python_api_prnt_date_tags (PyObject *self, PyObject *args)
tags = NULL;
message = NULL;
- if (!PyArg_ParseTuple (args, "siss", &buffer, &time, &tags, &message))
+ if (!PyArg_ParseTuple (args, "siss", &buffer, &date, &tags, &message))
{
WEECHAT_SCRIPT_MSG_WRONG_ARGUMENTS("prnt_date_tags");
PYTHON_RETURN_ERROR;