mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Make default get_file_handle handlers &priority=5.
So they're easier to override (just provide a new handler without specifying a priority).
This commit is contained in:
parent
0ef074594d
commit
bc5cd3acc8
4 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,7 @@ function get_file_handle(c: connection, is_orig: bool): string
|
|||
module GLOBAL;
|
||||
|
||||
event get_file_handle(tag: AnalyzerTag, c: connection, is_orig: bool)
|
||||
&priority=5
|
||||
{
|
||||
if ( tag != ANALYZER_IRC_DATA ) return;
|
||||
set_file_handle(IRC::get_file_handle(c, is_orig));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue