forked from External/ergo
format replies to strings instead of using a Reply struct
This commit is contained in:
parent
25ebab37d3
commit
9960089226
6 changed files with 292 additions and 420 deletions
|
|
@ -70,10 +70,6 @@ func (command *BaseCommand) Source() Identifier {
|
|||
return command.Client()
|
||||
}
|
||||
|
||||
func (command *BaseCommand) Reply(reply Reply) {
|
||||
command.client.Reply(reply)
|
||||
}
|
||||
|
||||
func ParseCommand(line string) (cmd editableCommand, err error) {
|
||||
code, args := parseLine(line)
|
||||
constructor := parseCommandFuncs[code]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue