private INetworkConnection GetOwningServerConnection() { INetworkConnection con = null; if (ServerUser != null && ServerUser.OwningServer.Length > 0) { if (ServerUser.OwningServer == MyServer.ServerUserID) { // don't need to let ourselves know. return(con); } con = ConnectionManager.GetParentConnection(ServerUser.OwningServer); if (con == null) { GameServerInfo <OutboundServerConnection> ocon = MyServer.GetOutboundServerByServerUserID(ServerUser.OwningServer); if (ocon == null) { Log1.Logger("Server.Inbound.Network").Error("Player was transferred by " + ServerUser.OwningServer + ", but that server couldn't be found."); return(null); } con = ocon.Connection; } } return(con); }