Browse Source

comments

master
AJ ONeal 6 years ago
parent
commit
4342aa3901
  1. 3
      chatserver.go

3
chatserver.go

@ -433,6 +433,9 @@ func main() {
if ok { if ok {
ar.Chan <- av ar.Chan <- av
} else { } else {
// sending empty object so that I can still send a copy
// rather than a pointer above. Maybe not the right way
// to do this, but it works for now.
ar.Chan <- authReq{} ar.Chan <- authReq{}
} }
case ar := <-delAuthReqs: case ar := <-delAuthReqs:

Loading…
Cancel
Save