aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/World/Region/RegionCommandsModule.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Region/RegionCommandsModule.cs b/OpenSim/Region/CoreModules/World/Region/RegionCommandsModule.cs
index b0caaf9..710c8da 100644
--- a/OpenSim/Region/CoreModules/World/Region/RegionCommandsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Region/RegionCommandsModule.cs
@@ -103,8 +103,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
103 "region get", 103 "region get",
104 "Set control information for the currently selected region.", 104 "Set control information for the currently selected region.",
105 "Currently, the following parameters can be set:\n" 105 "Currently, the following parameters can be set:\n"
106 + "agent-limit <int> - Current root agent limit.\n" 106 + "agent-limit <int> - Current root agent limit. This is persisted over restart.\n"
107 + "max-agent-limit <int> - Maximum root agent limit. agent-limit cannot exceed this.", 107 + "max-agent-limit <int> - Maximum root agent limit. agent-limit cannot exceed this."
108 + " This is not persisted over restart - to set it every time you must add a MaxAgents entry to your regions file.",
108 HandleRegionSet); 109 HandleRegionSet);
109 } 110 }
110 111
@@ -224,6 +225,8 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
224 MainConsole.Instance.OutputFormat( 225 MainConsole.Instance.OutputFormat(
225 "{0} set to {1} in {2}", "agent-limit", newValue, m_scene.Name); 226 "{0} set to {1} in {2}", "agent-limit", newValue, m_scene.Name);
226 } 227 }
228
229 rs.Save();
227 } 230 }
228 else if (param == "max-agent-limit") 231 else if (param == "max-agent-limit")
229 { 232 {
@@ -244,6 +247,8 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
244 MainConsole.Instance.OutputFormat( 247 MainConsole.Instance.OutputFormat(
245 "Reducing {0} to {1} in {2}", "agent-limit", rs.AgentLimit, m_scene.Name); 248 "Reducing {0} to {1} in {2}", "agent-limit", rs.AgentLimit, m_scene.Name);
246 } 249 }
250
251 rs.Save();
247 } 252 }
248 } 253 }
249 254