diff options
-rw-r--r-- | src/plugins/python/weechat-python-api.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/python/weechat-python-api.c b/src/plugins/python/weechat-python-api.c index cf08d0834..c79196ad5 100644 --- a/src/plugins/python/weechat-python-api.c +++ b/src/plugins/python/weechat-python-api.c @@ -1409,11 +1409,7 @@ weechat_python_api_config_boolean (PyObject *self, PyObject *args) { char *option; int value; -/* - if (option == NULL) - API_RETURN_INT(); - API_RETURN_ERROR; -*/ + API_FUNC(1, "config_boolean", API_RETURN_INT(0)); option = NULL; if (!PyArg_ParseTuple (args, "s", &option)) |