mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 14:03:17 -07:00
more lint driven refactoring
This commit is contained in:
parent
7919cda5ec
commit
0de6f3a76e
57 changed files with 168 additions and 241 deletions
|
@ -99,7 +99,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 {
|
||||
return
|
||||
} else if level < core.ERROR && p.silent == true {
|
||||
} else if level < core.ERROR && p.silent {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue