misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-07-31 16:24:48 +02:00
commit 81fb3fe1a6
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -531,6 +531,7 @@ func (s *Session) isCapletCommand(line string) (is bool, filename string, argv [
paths := []string{ paths := []string{
"./", "./",
"./caplets/", "./caplets/",
"/usr/share/bettercap/caplets/",
} }
capspath := core.Trim(os.Getenv("CAPSPATH")) capspath := core.Trim(os.Getenv("CAPSPATH"))