diff --git a/chatserver.go b/chatserver.go index 95df8d4..6b98a05 100644 --- a/chatserver.go +++ b/chatserver.go @@ -433,6 +433,9 @@ func main() { if ok { ar.Chan <- av } 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{} } case ar := <-delAuthReqs: