mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
Missed a comment from Robin about IRC.
This commit is contained in:
parent
362f1a8ee1
commit
27f006f317
1 changed files with 2 additions and 6 deletions
|
@ -66,18 +66,14 @@ function set_session(c: connection)
|
||||||
|
|
||||||
event irc_nick_message(c: connection, who: string, newnick: string) &priority=5
|
event irc_nick_message(c: connection, who: string, newnick: string) &priority=5
|
||||||
{
|
{
|
||||||
c$irc$command="NICK";
|
c$irc$command = "NICK";
|
||||||
c$irc$value = newnick;
|
c$irc$value = newnick;
|
||||||
|
|
||||||
Log::write(IRC, c$irc);
|
|
||||||
|
|
||||||
c$irc$nick=newnick;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
event irc_nick_message(c: connection, who: string, newnick: string) &priority=-5
|
event irc_nick_message(c: connection, who: string, newnick: string) &priority=-5
|
||||||
{
|
{
|
||||||
Log::write(IRC, c$irc);
|
Log::write(IRC, c$irc);
|
||||||
c$irc$nick=newnick;
|
c$irc$nick = newnick;
|
||||||
}
|
}
|
||||||
|
|
||||||
event irc_user_message(c: connection, user: string, host: string, server: string, real_name: string) &priority=5
|
event irc_user_message(c: connection, user: string, host: string, server: string, real_name: string) &priority=5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue