diff options
Diffstat (limited to 'OpenSim/Framework/EstateBan.cs')
-rw-r--r-- | OpenSim/Framework/EstateBan.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/EstateBan.cs b/OpenSim/Framework/EstateBan.cs index 12a92bb..81a56d7 100644 --- a/OpenSim/Framework/EstateBan.cs +++ b/OpenSim/Framework/EstateBan.cs | |||
@@ -67,6 +67,9 @@ namespace OpenSim.Framework | |||
67 | } | 67 | } |
68 | } | 68 | } |
69 | 69 | ||
70 | public UUID BanningUserID { get; set; } | ||
71 | public int BanTime; | ||
72 | |||
70 | private string m_bannedHostAddress = string.Empty; | 73 | private string m_bannedHostAddress = string.Empty; |
71 | /// <summary> | 74 | /// <summary> |
72 | /// IP address or domain name of the banned client. | 75 | /// IP address or domain name of the banned client. |
@@ -143,6 +146,8 @@ namespace OpenSim.Framework | |||
143 | p.SetValue(this, Boolean.Parse((string)map[p.Name]), null); | 146 | p.SetValue(this, Boolean.Parse((string)map[p.Name]), null); |
144 | else if (value is UUID) | 147 | else if (value is UUID) |
145 | p.SetValue(this, UUID.Parse((string)map[p.Name]), null); | 148 | p.SetValue(this, UUID.Parse((string)map[p.Name]), null); |
149 | else if (value is DateTime) | ||
150 | p.SetValue(this, DateTime.Parse((string)map[p.Name]), null); | ||
146 | } | 151 | } |
147 | } | 152 | } |
148 | 153 | ||