forked from External/ergo
add a type for CTCP-encoded strings, and NOTICEs for error cases
This commit is contained in:
parent
6267b6a40c
commit
34b01b115e
5 changed files with 38 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue