From 07efd50f628164be887a7f4353bf10e7401d23c0 Mon Sep 17 00:00:00 2001 From: Brett Langdon Date: Mon, 15 Feb 2021 22:09:17 -0500 Subject: [PATCH] Update sysaudit/_csysaudit.pyx --- sysaudit/_csysaudit.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)