From 172bf95fade1ef65f5de689facffcb06e44e1a8b Mon Sep 17 00:00:00 2001 From: evilsocket Date: Mon, 8 Jan 2018 09:55:49 +0100 Subject: [PATCH] refact: target-lost -> target.lost --- session/targets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session/targets.go b/session/targets.go index d3aec71b..5a9579b5 100644 --- a/session/targets.go +++ b/session/targets.go @@ -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 }