reid %!s(int64=2) %!d(string=hai) anos
pai
achega
da9e7ee0b2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      auth/auth.go

+ 1 - 1
auth/auth.go

@@ -56,7 +56,7 @@ func WsAuthCheck(conn *websocket.Conn) bool {
 	AuthenticatedClients.RLock()
 	defer AuthenticatedClients.RUnlock()
 	for _, con := range AuthenticatedClients.Conns {
-		fmt.Println(con) //debug
+		fmt.Println(string(con)) //debug
 		if con == conn {
 			config.Logger.Info("Client in auth map")
 			return true