refact: target-lost -> target.lost

This commit is contained in:
evilsocket 2018-01-08 09:55:49 +01:00
parent d052758efc
commit 172bf95fad

View file

@ -31,7 +31,7 @@ func (tp *Targets) Remove(ip, mac string) {
defer tp.lock.Unlock()
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)
return
}