aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimMain.cs
diff options
context:
space:
mode:
authorMW2007-08-28 18:09:36 +0000
committerMW2007-08-28 18:09:36 +0000
commit31b895681aa4ab5874ac68d69a95fe6f9c834879 (patch)
treeff584ff086d6fc0e1ee8aebfb2036d241e4371a7 /OpenSim/Region/Application/OpenSimMain.cs
parentuse order by ParentID to ensure root prims are selected first (diff)
downloadopensim-SC-31b895681aa4ab5874ac68d69a95fe6f9c834879.zip
opensim-SC-31b895681aa4ab5874ac68d69a95fe6f9c834879.tar.gz
opensim-SC-31b895681aa4ab5874ac68d69a95fe6f9c834879.tar.bz2
opensim-SC-31b895681aa4ab5874ac68d69a95fe6f9c834879.tar.xz
As part of our "we aim to please" commitment, have added the ability to create a user in one command line: "create user firstname secondname passwrd regionX regionY". This allows the use of the "command-script" feature. So to add a bunch of new accounts, just create a text file, and add a line as above for each account. Then in the opensim console, type: "command-script filename".
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 8377d84..af21a81 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -52,7 +52,7 @@ using OpenSim.Framework.Utilities;
52 52
53namespace OpenSim 53namespace OpenSim
54{ 54{
55 public delegate void ConsoleCommand(string comParams); 55 public delegate void ConsoleCommand(string[] comParams);
56 56
57 public class OpenSimMain : RegionApplicationBase, conscmd_callback 57 public class OpenSimMain : RegionApplicationBase, conscmd_callback
58 { 58 {
@@ -455,7 +455,7 @@ namespace OpenSim
455 case "create": 455 case "create":
456 if (CreateAccount != null) 456 if (CreateAccount != null)
457 { 457 {
458 CreateAccount(cmdparams[0]); 458 CreateAccount(cmdparams);
459 } 459 }
460 break; 460 break;
461 461