Skip to content
Snippets Groups Projects
Commit e490633a authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Check nil on event manager

parent f857e56f
Branches
Tags
2 merge requests!23Release,!18Add remove user and add flag on command line for testing
......@@ -173,7 +173,10 @@ func RequestAuth(partner, me contact.Contact, message string, rng io.Reader,
em := fmt.Sprintf("Auth Request with %s (msgDigest: %s) sent"+
" on round %d", partner.ID, cmixMsg.Digest(), round)
jww.INFO.Print(em)
net.GetEventManager().Report(1, "Auth", "RequestSent", em)
evtMgr = net.GetEventManager()
if evtMgr != nil {
evtMgr.Report(1, "Auth", "RequestSent", em)
}
return round, nil
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment