* 'master' of https://github.com/marktayl/bro:
  Correct irc_privmsg_message handling.
This commit is contained in:
Johanna Amann 2016-01-27 13:53:18 -08:00
commit aff555c95e
5 changed files with 29 additions and 2 deletions

View 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);
}