summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/glibext
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/glibext')
-rw-r--r--plugins/pychrysa/glibext/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysa/glibext/module.c b/plugins/pychrysa/glibext/module.c
index 2212c32..65de4e5 100644
--- a/plugins/pychrysa/glibext/module.c
+++ b/plugins/pychrysa/glibext/module.c
@@ -58,7 +58,7 @@ bool add_glibext_module_to_python_module(PyObject *super)
Py_INCREF(module);
ret = PyModule_AddObject(super, "pychrysalide.glibext", module);
- result = (ret != 0);
+ result = (ret == 0);
result &= register_python_buffer_line(module);
result &= register_python_code_buffer(module);