mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/jazoff/gh-3268t '
* origin/topic/jazoff/gh-3268:
Fix check for emailed notices
Changes: Added a test-case printing email_delay_tokens to compare email vs
non-email notice types. Previously, both notice types would have email
delay tokens at that point in the flow.
(cherry picked from commit 7e11501d3c
)
This commit is contained in:
parent
8507d58141
commit
fe9c7d4191
3 changed files with 47 additions and 1 deletions
|
@ -20,7 +20,7 @@ hook notice(n: Notice::Info) &priority=-1
|
|||
return;
|
||||
|
||||
# This should only be done for notices that are being sent to email.
|
||||
if ( ! n?$email_dest )
|
||||
if ( |n$email_dest| == 0 )
|
||||
return;
|
||||
|
||||
# I'm not recovering gracefully from the when statements because I want
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue