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:
parent
cab21782b4
commit
6c10add399
6 changed files with 153 additions and 108 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue