forked from External/ergo
stub motd
This commit is contained in:
parent
887f12cb31
commit
cdae59ecf5
3 changed files with 15 additions and 8 deletions
|
|
@ -156,11 +156,13 @@ func (client *Client) Destroy() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (client *Client) Reply(reply Reply) error {
|
||||
func (client *Client) Reply(replies ...Reply) error {
|
||||
if client.replies == nil {
|
||||
return ErrAlreadyDestroyed
|
||||
}
|
||||
client.replies <- reply
|
||||
for _, reply := range replies {
|
||||
client.replies <- reply
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue