1
0
Fork 0
forked from External/ergo

stub motd

This commit is contained in:
Jeremy Latt 2014-02-11 15:33:02 -08:00
parent 887f12cb31
commit cdae59ecf5
3 changed files with 15 additions and 8 deletions

View file

@ -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
}