Remove one of two emits of events.DeviceConnected (ref #2034)

This commit is contained in:
Jakob Borg 2015-07-10 16:12:59 +10:00
parent b78c515724
commit 5bb8ea7449
1 changed files with 0 additions and 4 deletions

View File

@ -177,10 +177,6 @@ next:
if debugNet {
l.Debugf("cipher suite: %04X in lan: %t", conn.ConnectionState().CipherSuite, !limit)
}
events.Default.Log(events.DeviceConnected, map[string]string{
"id": remoteID.String(),
"addr": conn.RemoteAddr().String(),
})
s.model.AddConnection(conn, protoConn)
continue next