diff options
author | Justin Clarke Casey | 2008-02-18 15:23:18 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-02-18 15:23:18 +0000 |
commit | ad40ee73075874f846c72224ed8cfcb225fd1bb2 (patch) | |
tree | 07a6618951c600f2439e96c643bc9cd99437de0c | |
parent | More exception checks and crash hints (diff) | |
download | opensim-SC_OLD-ad40ee73075874f846c72224ed8cfcb225fd1bb2.zip opensim-SC_OLD-ad40ee73075874f846c72224ed8cfcb225fd1bb2.tar.gz opensim-SC_OLD-ad40ee73075874f846c72224ed8cfcb225fd1bb2.tar.bz2 opensim-SC_OLD-ad40ee73075874f846c72224ed8cfcb225fd1bb2.tar.xz |
* Allow create user on standalone even if authentication is off, in case the creator wants to see a starting region for a user
* This also resolves mantis 601
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 8c6ea26..dff095b 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -342,10 +342,7 @@ namespace OpenSim | |||
342 | // Provides the LLSD login | 342 | // Provides the LLSD login |
343 | m_httpServer.SetLLSDHandler(m_loginService.LLSDLoginMethod); | 343 | m_httpServer.SetLLSDHandler(m_loginService.LLSDLoginMethod); |
344 | 344 | ||
345 | if (m_standaloneAuthenticate) | 345 | CreateAccount = localComms.doCreate; |
346 | { | ||
347 | CreateAccount = localComms.doCreate; | ||
348 | } | ||
349 | } | 346 | } |
350 | else | 347 | else |
351 | { | 348 | { |
@@ -706,7 +703,7 @@ namespace OpenSim | |||
706 | m_console.Notice(" alert general [Message] - send an alert to all users."); | 703 | m_console.Notice(" alert general [Message] - send an alert to all users."); |
707 | m_console.Notice("backup - trigger a simulator backup"); | 704 | m_console.Notice("backup - trigger a simulator backup"); |
708 | m_console.Notice("clear-assets - clear asset cache"); | 705 | m_console.Notice("clear-assets - clear asset cache"); |
709 | m_console.Notice("create user - adds a new user"); | 706 | m_console.Notice("create user - adds a new user."); |
710 | m_console.Notice("change-region [name] - sets the region that many of these commands affect."); | 707 | m_console.Notice("change-region [name] - sets the region that many of these commands affect."); |
711 | m_console.Notice("command-script [filename] - Execute command in a file."); | 708 | m_console.Notice("command-script [filename] - Execute command in a file."); |
712 | m_console.Notice("debug - debugging commands"); | 709 | m_console.Notice("debug - debugging commands"); |
@@ -838,10 +835,7 @@ namespace OpenSim | |||
838 | break; | 835 | break; |
839 | 836 | ||
840 | case "create": | 837 | case "create": |
841 | if (CreateAccount != null) | 838 | CreateAccount(cmdparams); |
842 | { | ||
843 | CreateAccount(cmdparams); | ||
844 | } | ||
845 | break; | 839 | break; |
846 | 840 | ||
847 | case "create-region": | 841 | case "create-region": |