mirror of
https://github.com/fluffle/goirc
synced 2025-09-06 00:43:20 +00:00
Support other chantypes in (*Line).Public. Fixes #65.
This commit is contained in:
parent
8101dbaedd
commit
fdb1c8229d
2 changed files with 10 additions and 9 deletions
|
@ -69,8 +69,8 @@ func TestLineTarget(t *testing.T) {
|
|||
{&Line{Cmd: CTCP, Args: []string{"PING", "Me", "1"}, Nick: "Them"}, "Them"},
|
||||
{&Line{Cmd: CTCPREPLY, Args: []string{"PONG", "Me", "2"}, Nick: "Them"}, "Them"},
|
||||
{&Line{Cmd: PRIVMSG, Args: []string{"#foo", "la"}, Nick: "Them"}, "#foo"},
|
||||
{&Line{Cmd: NOTICE, Args: []string{"#foo", "la"}, Nick: "Them"}, "#foo"},
|
||||
{&Line{Cmd: ACTION, Args: []string{"#foo", "la"}, Nick: "Them"}, "#foo"},
|
||||
{&Line{Cmd: NOTICE, Args: []string{"&foo", "la"}, Nick: "Them"}, "&foo"},
|
||||
{&Line{Cmd: ACTION, Args: []string{"!foo", "la"}, Nick: "Them"}, "!foo"},
|
||||
{&Line{Cmd: CTCP, Args: []string{"PING", "#foo", "1"}, Nick: "Them"}, "#foo"},
|
||||
{&Line{Cmd: CTCPREPLY, Args: []string{"PONG", "#foo", "2"}, Nick: "Them"}, "#foo"},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue