diff --git a/sysaudit/_csysaudit.pyx b/sysaudit/_csysaudit.pyx index 4786eb2..5ef0ef6 100644 --- a/sysaudit/_csysaudit.pyx +++ b/sysaudit/_csysaudit.pyx @@ -11,7 +11,7 @@ cdef void _audit(str event, tuple args) except *: def audit(event, *args): global has_hooks - if not has_hooks: + if has_hooks == 0: return _audit(event, args)