1
0
mirror of https://github.com/bettercap/bettercap.git synced 2025-03-12 04:36:03 -07:00

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

This commit is contained in:
evilsocket 2019-02-19 11:34:46 +01:00
parent dbd4590654
commit 2446cde2e1
No known key found for this signature in database
GPG Key ID: 1564D7F30393A456

@ -115,11 +115,6 @@ func (p ModuleParam) Get(s *Session) (error, interface{}) {
return p.Validate(v)
}
func (p ModuleParam) Dump(padding int) string {
return fmt.Sprintf(" "+tui.YELLOW+"%"+strconv.Itoa(padding)+"s"+tui.RESET+
" : %s\n", p.Name, p.Value)
}
func (p ModuleParam) Help(padding int) string {
return fmt.Sprintf(" "+tui.YELLOW+"%"+strconv.Itoa(padding)+"s"+tui.RESET+
" : "+