mirror of
https://github.com/bettercap/bettercap
synced 2025-07-08 05:51:37 -07:00
refact: target-lost -> target.lost
This commit is contained in:
parent
d052758efc
commit
172bf95fad
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ func (tp *Targets) Remove(ip, mac string) {
|
||||||
defer tp.lock.Unlock()
|
defer tp.lock.Unlock()
|
||||||
|
|
||||||
if e, found := tp.Targets[mac]; found {
|
if e, found := tp.Targets[mac]; found {
|
||||||
tp.Session.Events.Add("target-lost", e)
|
tp.Session.Events.Add("target.lost", e)
|
||||||
delete(tp.Targets, mac)
|
delete(tp.Targets, mac)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue