From 7951981815073f7a330cff7fc802ad2c63e4923a Mon Sep 17 00:00:00 2001 From: evilsocket Date: Wed, 26 Sep 2018 16:40:02 +0200 Subject: [PATCH] fix --- session/session_setup.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/session/session_setup.go b/session/session_setup.go index 6c493895..cec63684 100644 --- a/session/session_setup.go +++ b/session/session_setup.go @@ -8,9 +8,10 @@ import ( "syscall" "time" - "github.com/bettercap/readline" - + "github.com/bettercap/bettercap/caplets" "github.com/bettercap/bettercap/core" + + "github.com/bettercap/readline" ) func containsCapitals(s string) bool { @@ -49,7 +50,7 @@ func (s *Session) setupReadline() (err error) { } } } - + for _, caplet := range caplets.List() { tree[caplet.Name] = []string{} }