From 14c9afb990ba60a665e79a2b567b2f7e4f9d36f3 Mon Sep 17 00:00:00 2001 From: Emmanuel Bouthenot Date: Thu, 16 Feb 2006 21:14:36 +0000 Subject: fix typo in parsing args for weechat_python_add_command_handler --- src/plugins/scripts/python/weechat-python.c | 2 +- weechat/src/plugins/scripts/python/weechat-python.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 69169dab0..e3faa6274 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -394,7 +394,7 @@ weechat_python_add_command_handler (PyObject *self, PyObject *args) if (!PyArg_ParseTuple (args, "ss|ssss", &command, &function, &description, &arguments, &arguments_description, - completion_template)) + &completion_template)) { python_plugin->print_server (python_plugin, "Python error: wrong parameters for " diff --git a/weechat/src/plugins/scripts/python/weechat-python.c b/weechat/src/plugins/scripts/python/weechat-python.c index 69169dab0..e3faa6274 100644 --- a/weechat/src/plugins/scripts/python/weechat-python.c +++ b/weechat/src/plugins/scripts/python/weechat-python.c @@ -394,7 +394,7 @@ weechat_python_add_command_handler (PyObject *self, PyObject *args) if (!PyArg_ParseTuple (args, "ss|ssss", &command, &function, &description, &arguments, &arguments_description, - completion_template)) + &completion_template)) { python_plugin->print_server (python_plugin, "Python error: wrong parameters for " -- cgit v1.2.3