forked from External/ergo
use Reply() to wrap channel
This commit is contained in:
parent
281558072a
commit
1787ac8ebf
7 changed files with 118 additions and 77 deletions
|
|
@ -51,7 +51,7 @@ func (command *BaseCommand) Source() Identifier {
|
|||
}
|
||||
|
||||
func (command *BaseCommand) Reply(reply Reply) {
|
||||
command.client.Replies() <- reply
|
||||
command.client.Reply(reply)
|
||||
}
|
||||
|
||||
func ParseCommand(line string) (editableCommand, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue