aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IGridUserService.cs
diff options
context:
space:
mode:
authorMelanie2012-09-27 15:46:35 +0100
committerMelanie2012-09-27 15:46:35 +0100
commit637f5440feaa1b00e3b06644afe85f83b5a9394e (patch)
tree9355f991b903d97c7089e78a5be82510f846de8b /OpenSim/Services/Interfaces/IGridUserService.cs
parentMerge commit 'ddd9384b3901f532243c1e8018334385b84290d1' into careminster (diff)
parentUse GridUser properly for foreign users. (diff)
downloadopensim-SC-637f5440feaa1b00e3b06644afe85f83b5a9394e.zip
opensim-SC-637f5440feaa1b00e3b06644afe85f83b5a9394e.tar.gz
opensim-SC-637f5440feaa1b00e3b06644afe85f83b5a9394e.tar.bz2
opensim-SC-637f5440feaa1b00e3b06644afe85f83b5a9394e.tar.xz
Merge commit '3c77b8f463a852aecf3cb29fe4e5f4614f474dbf' into careminster
Diffstat (limited to 'OpenSim/Services/Interfaces/IGridUserService.cs')
-rw-r--r--OpenSim/Services/Interfaces/IGridUserService.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IGridUserService.cs b/OpenSim/Services/Interfaces/IGridUserService.cs
index 0a52bfa..620ed3a 100644
--- a/OpenSim/Services/Interfaces/IGridUserService.cs
+++ b/OpenSim/Services/Interfaces/IGridUserService.cs
@@ -50,6 +50,8 @@ namespace OpenSim.Services.Interfaces
50 public DateTime Login; 50 public DateTime Login;
51 public DateTime Logout; 51 public DateTime Logout;
52 52
53 public string TOS = string.Empty;
54
53 public GridUserInfo() {} 55 public GridUserInfo() {}
54 56
55 public GridUserInfo(Dictionary<string, object> kvp) 57 public GridUserInfo(Dictionary<string, object> kvp)
@@ -78,6 +80,11 @@ namespace OpenSim.Services.Interfaces
78 if (kvp.ContainsKey("Online")) 80 if (kvp.ContainsKey("Online"))
79 Boolean.TryParse(kvp["Online"].ToString(), out Online); 81 Boolean.TryParse(kvp["Online"].ToString(), out Online);
80 82
83 if (kvp.ContainsKey("TOS"))
84 TOS = kvp["TOS"].ToString();
85 else
86 TOS = string.Empty;
87
81 } 88 }
82 89
83 public Dictionary<string, object> ToKeyValuePairs() 90 public Dictionary<string, object> ToKeyValuePairs()
@@ -97,6 +104,7 @@ namespace OpenSim.Services.Interfaces
97 result["Login"] = Login.ToString(); 104 result["Login"] = Login.ToString();
98 result["Logout"] = Logout.ToString(); 105 result["Logout"] = Logout.ToString();
99 106
107 result["TOS"] = TOS;
100 108
101 return result; 109 return result;
102 } 110 }