From 2446cde2e1dbd4e9a54388d3bf75263e6a05f2bf Mon Sep 17 00:00:00 2001 From: evilsocket Date: Tue, 19 Feb 2019 11:34:46 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- session/module_param.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/session/module_param.go b/session/module_param.go index 3b8cc9ad..012a8436 100644 --- a/session/module_param.go +++ b/session/module_param.go @@ -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+ " : "+