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:
Jon Siwek 2013-05-21 10:34:19 -05:00
parent 0ef074594d
commit bc5cd3acc8
4 changed files with 4 additions and 0 deletions

View file

@ -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));