1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-20 10:04:48 +02:00

Fix crash in python plugin when calling function prnt_date_tags()

This commit is contained in:
Sebastien Helleu
2009-02-20 18:12:43 +01:00
parent 029503f750
commit 517367f881
@@ -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;