aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2011-12-30 10:40:57 -0800
committerDiva Canto2011-12-30 10:40:57 -0800
commit5aad1f7afed9770b94b4cabdd2f681781a16d662 (patch)
tree1f773182a1b6b9dfb7d6773615329b292749fa47 /OpenSim
parentSet the local grid flag in the user account through the simian connector (diff)
downloadopensim-SC_OLD-5aad1f7afed9770b94b4cabdd2f681781a16d662.zip
opensim-SC_OLD-5aad1f7afed9770b94b4cabdd2f681781a16d662.tar.gz
opensim-SC_OLD-5aad1f7afed9770b94b4cabdd2f681781a16d662.tar.bz2
opensim-SC_OLD-5aad1f7afed9770b94b4cabdd2f681781a16d662.tar.xz
Default LocalToGrid to true. Fixes minor bug introduced yesterday where old robust UserAccount service would result is LocalToGrid at the sim being false.
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Interfaces/IUserAccountService.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Services/Interfaces/IUserAccountService.cs b/OpenSim/Services/Interfaces/IUserAccountService.cs
index 4f80549..1b85980 100644
--- a/OpenSim/Services/Interfaces/IUserAccountService.cs
+++ b/OpenSim/Services/Interfaces/IUserAccountService.cs
@@ -37,13 +37,11 @@ namespace OpenSim.Services.Interfaces
37 { 37 {
38 public UserAccount() 38 public UserAccount()
39 { 39 {
40 LocalToGrid = true;
41 } 40 }
42 41
43 public UserAccount(UUID principalID) 42 public UserAccount(UUID principalID)
44 { 43 {
45 PrincipalID = principalID; 44 PrincipalID = principalID;
46 LocalToGrid = true;
47 } 45 }
48 46
49 /// <summary> 47 /// <summary>
@@ -72,7 +70,6 @@ namespace OpenSim.Services.Interfaces
72 Email = email; 70 Email = email;
73 ServiceURLs = new Dictionary<string, object>(); 71 ServiceURLs = new Dictionary<string, object>();
74 Created = Util.UnixTimeSinceEpoch(); 72 Created = Util.UnixTimeSinceEpoch();
75 LocalToGrid = true;
76 } 73 }
77 74
78 public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email) 75 public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email)
@@ -84,7 +81,6 @@ namespace OpenSim.Services.Interfaces
84 Email = email; 81 Email = email;
85 ServiceURLs = new Dictionary<string, object>(); 82 ServiceURLs = new Dictionary<string, object>();
86 Created = Util.UnixTimeSinceEpoch(); 83 Created = Util.UnixTimeSinceEpoch();
87 LocalToGrid = true;
88 } 84 }
89 85
90 public string FirstName; 86 public string FirstName;
@@ -95,7 +91,7 @@ namespace OpenSim.Services.Interfaces
95 public int UserLevel; 91 public int UserLevel;
96 public int UserFlags; 92 public int UserFlags;
97 public string UserTitle; 93 public string UserTitle;
98 public Boolean LocalToGrid; 94 public Boolean LocalToGrid = true;
99 95
100 public Dictionary<string, object> ServiceURLs; 96 public Dictionary<string, object> ServiceURLs;
101 97