mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
completed lint driven refactoring
This commit is contained in:
parent
e383e4d9b1
commit
557d7dbe17
8 changed files with 27 additions and 47 deletions
|
@ -97,7 +97,7 @@ func (p *EventPool) Add(tag string, data interface{}) {
|
|||
}
|
||||
|
||||
func (p *EventPool) Log(level int, format string, args ...interface{}) {
|
||||
if level == core.DEBUG && p.debug == false {
|
||||
if level == core.DEBUG && !p.debug {
|
||||
return
|
||||
} else if level < core.ERROR && p.silent {
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue