aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorMW2007-08-13 13:41:54 +0000
committerMW2007-08-13 13:41:54 +0000
commit7fbc3266dfb5e923fb240fe81591fc96691a06b9 (patch)
tree0cd541a17e71343cc95fc9342d928c9402c60186 /OpenSim/Region/Application
parentSome work to prepare for inventory server. (diff)
downloadopensim-SC_OLD-7fbc3266dfb5e923fb240fe81591fc96691a06b9.zip
opensim-SC_OLD-7fbc3266dfb5e923fb240fe81591fc96691a06b9.tar.gz
opensim-SC_OLD-7fbc3266dfb5e923fb240fe81591fc96691a06b9.tar.bz2
opensim-SC_OLD-7fbc3266dfb5e923fb240fe81591fc96691a06b9.tar.xz
The Welcome message /message of the day shown in the client during login, can now be set from the .INI file for standalone mode (change the standalone_welcome = "Welcome to OpenSim" line).
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 6c49817..ca95a8d 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -72,6 +72,8 @@ namespace OpenSim
72 private string m_logFilename = ("region-console.log"); 72 private string m_logFilename = ("region-console.log");
73 73
74 private bool standaloneAuthenticate = false; 74 private bool standaloneAuthenticate = false;
75 private string welcomeMessage = null;
76
75 public ConsoleCommand CreateAccount = null; 77 public ConsoleCommand CreateAccount = null;
76 78
77 public OpenSimMain(IConfigSource configSource) 79 public OpenSimMain(IConfigSource configSource)
@@ -104,6 +106,7 @@ namespace OpenSim
104 m_storageDLL = configSource.Configs["Startup"].GetString("storage_plugin", "OpenSim.DataStore.NullStorage.dll"); 106 m_storageDLL = configSource.Configs["Startup"].GetString("storage_plugin", "OpenSim.DataStore.NullStorage.dll");
105 107
106 standaloneAuthenticate = configSource.Configs["Startup"].GetBoolean("standalone_authenticate", false); 108 standaloneAuthenticate = configSource.Configs["Startup"].GetBoolean("standalone_authenticate", false);
109 welcomeMessage = configSource.Configs["Startup"].GetString("standalone_welcome", "Welcome to OpenSim");
107 } 110 }
108 111
109 /// <summary> 112 /// <summary>
@@ -123,7 +126,7 @@ namespace OpenSim
123 126
124 if (m_sandbox) 127 if (m_sandbox)
125 { 128 {
126 CommunicationsLocal localComms = new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, standaloneAuthenticate); 129 CommunicationsLocal localComms = new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, standaloneAuthenticate, welcomeMessage);
127 m_commsManager = localComms; 130 m_commsManager = localComms;
128 if(standaloneAuthenticate) 131 if(standaloneAuthenticate)
129 { 132 {