move servicesGodAgentID to Constants.cs

This commit is contained in:
UbitUmarov
2020-12-25 22:48:42 +00:00
parent 696a7a4edc
commit a0d0bbacb2
7 changed files with 23 additions and 22 deletions

View File

@@ -652,14 +652,12 @@ namespace OpenSim.Services.HypergridService
return false;
string regURL = regInfo.ServerURI;
if(String.IsNullOrEmpty(regURL))
if(string.IsNullOrEmpty(regURL))
return false;
UUID guuid = new UUID("6571e388-6218-4574-87db-f9379718315e");
GridInstantMessage msg = new GridInstantMessage();
msg.imSessionID = UUID.Zero.Guid;
msg.fromAgentID = guuid.Guid;
msg.fromAgentID = Constants.servicesGodAgentID.Guid;
msg.toAgentID = agentID.Guid;
msg.timestamp = (uint)Util.UnixTimeSinceEpoch();
msg.fromAgentName = "GRID";