diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-02-20 18:12:43 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-02-20 18:12:43 +0100 |
commit | 517367f88179f899ec70aa2c0302b27e3e1bc0b1 (patch) | |
tree | 9f8eaad2ec90a726fee042662dcdff10561c336b | |
parent | 029503f750171977e1636bde1376317879b05dfd (diff) | |
download | weechat-517367f88179f899ec70aa2c0302b27e3e1bc0b1.zip |
Fix crash in python plugin when calling function prnt_date_tags()
-rw-r--r-- | src/plugins/scripts/python/weechat-python-api.c | 2 |
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; |