mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
more lint driven refactoring
This commit is contained in:
parent
7919cda5ec
commit
0de6f3a76e
57 changed files with 168 additions and 241 deletions
|
@ -162,7 +162,7 @@ func (w *WiFi) GetClient(mac string) (*Station, bool) {
|
|||
|
||||
mac = NormalizeMac(mac)
|
||||
for _, ap := range w.aps {
|
||||
if client, found := ap.Get(mac); found == true {
|
||||
if client, found := ap.Get(mac); found {
|
||||
return client, true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue