mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Merge branch 'master' of https://github.com/marktayl/bro
* 'master' of https://github.com/marktayl/bro: Correct irc_privmsg_message handling.
This commit is contained in:
commit
aff555c95e
5 changed files with 29 additions and 2 deletions
10
testing/btest/scripts/base/protocols/irc/privmsg.test
Normal file
10
testing/btest/scripts/base/protocols/irc/privmsg.test
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Test the privmsg event
|
||||
|
||||
# @TEST-EXEC: bro -r $TRACES/irc-dcc-send.trace %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
event irc_privmsg_message(c: connection, is_orig: bool, source: string, target: string, message: string)
|
||||
{
|
||||
print fmt("%s -> %s: %s", source, target, message);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue