aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/RegionInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.RegionServer/RegionInfo.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.RegionServer/RegionInfo.cs b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
index dc9bb1a..d0ce1ce 100644
--- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs
+++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
@@ -26,6 +26,8 @@ namespace OpenSim
26 public string UserRecvKey = ""; 26 public string UserRecvKey = "";
27 private bool isSandbox; 27 private bool isSandbox;
28 28
29 public string RegionOwnerName = "";
30
29 public string DataStore; 31 public string DataStore;
30 32
31 public RegionInfo() 33 public RegionInfo()
@@ -222,6 +224,19 @@ namespace OpenSim
222 } 224 }
223 225
224 226
227 attri = "";
228 attri = configData.GetAttribute("RegionOwnerName");
229 if (attri == "")
230 {
231 string name = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Region Owner Avatar Name", "Test User");
232 this.RegionOwnerName = name;
233 configData.SetAttribute("RegionOwnerName", this.RegionOwnerName);
234 }
235 else
236 {
237 this.RegionOwnerName = attri;
238 }
239
225 if (!isSandbox) 240 if (!isSandbox)
226 { 241 {
227 //shouldn't be reading this data in here, it should be up to the classes implementing the server interfaces to read what they need from the config object 242 //shouldn't be reading this data in here, it should be up to the classes implementing the server interfaces to read what they need from the config object