diff --git a/src/plugins/python/weechat-python.c b/src/plugins/python/weechat-python.c index 599d16bb6..903e5e559 100644 --- a/src/plugins/python/weechat-python.c +++ b/src/plugins/python/weechat-python.c @@ -86,7 +86,7 @@ static struct PyModuleDef moduleDef = { PyModuleDef_HEAD_INIT, "weechat", NULL, - -1, + 0, weechat_python_funcs, NULL, NULL, @@ -97,7 +97,7 @@ static struct PyModuleDef moduleDefOutputs = { PyModuleDef_HEAD_INIT, "weechatOutputs", NULL, - -1, + 0, weechat_python_output_funcs, NULL, NULL,