diff options
Diffstat (limited to 'src/plugins/trigger/trigger-callback.h')
-rw-r--r-- | src/plugins/trigger/trigger-callback.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/trigger/trigger-callback.h b/src/plugins/trigger/trigger-callback.h index 3b6f9f3de..29ec9b9d9 100644 --- a/src/plugins/trigger/trigger-callback.h +++ b/src/plugins/trigger/trigger-callback.h @@ -27,6 +27,8 @@ pointers = NULL; \ extra_vars = NULL; \ (void) trigger_rc; \ + if (!trigger_enabled) \ + return __rc; \ trigger = (struct t_trigger *)data; \ if (!trigger || trigger->hook_running) \ return __rc; \ |