This commit is contained in:
evilsocket 2018-09-26 16:40:02 +02:00
commit 7951981815

View file

@ -8,9 +8,10 @@ import (
"syscall" "syscall"
"time" "time"
"github.com/bettercap/readline" "github.com/bettercap/bettercap/caplets"
"github.com/bettercap/bettercap/core" "github.com/bettercap/bettercap/core"
"github.com/bettercap/readline"
) )
func containsCapitals(s string) bool { func containsCapitals(s string) bool {
@ -49,7 +50,7 @@ func (s *Session) setupReadline() (err error) {
} }
} }
} }
for _, caplet := range caplets.List() { for _, caplet := range caplets.List() {
tree[caplet.Name] = []string{} tree[caplet.Name] = []string{}
} }