1
0
Fork 0
forked from External/ergo

improve performance by using less goroutines

- get rid of command channel in Client
- get rid of loginTimer; use other timers instead
- move debugging code to debug.go
This commit is contained in:
Jeremy Latt 2014-04-15 08:49:52 -07:00
parent cab21782b4
commit 6c10add399
6 changed files with 153 additions and 108 deletions

View file

@ -702,7 +702,6 @@ func ParseProxyCommand(args []string) (Command, error) {
type AwayCommand struct {
BaseCommand
text Text
away bool
}
func ParseAwayCommand(args []string) (Command, error) {
@ -710,7 +709,6 @@ func ParseAwayCommand(args []string) (Command, error) {
if len(args) > 0 {
cmd.text = NewText(args[0])
cmd.away = true
}
return cmd, nil