add a type for CTCP-encoded strings, and NOTICEs for error cases

This commit is contained in:
Edmund Huber 2014-03-23 06:47:21 +01:00
parent 6267b6a40c
commit 34b01b115e
5 changed files with 38 additions and 14 deletions

View file

@ -966,7 +966,7 @@ func NewTheaterCommand(args []string) (Command, error) {
return &TheaterActionCommand{
channel: NewName(args[1]),
asNick: NewName(args[2]),
action: NewText(args[3]),
action: NewCTCPText(args[3]),
}, nil
} else {
return nil, ErrParseCommand