From ad40ee73075874f846c72224ed8cfcb225fd1bb2 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 18 Feb 2008 15:23:18 +0000 Subject: * 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 --- OpenSim/Region/Application/OpenSimMain.cs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/Application') 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 // Provides the LLSD login m_httpServer.SetLLSDHandler(m_loginService.LLSDLoginMethod); - if (m_standaloneAuthenticate) - { - CreateAccount = localComms.doCreate; - } + CreateAccount = localComms.doCreate; } else { @@ -706,7 +703,7 @@ namespace OpenSim m_console.Notice(" alert general [Message] - send an alert to all users."); m_console.Notice("backup - trigger a simulator backup"); m_console.Notice("clear-assets - clear asset cache"); - m_console.Notice("create user - adds a new user"); + m_console.Notice("create user - adds a new user."); m_console.Notice("change-region [name] - sets the region that many of these commands affect."); m_console.Notice("command-script [filename] - Execute command in a file."); m_console.Notice("debug - debugging commands"); @@ -838,10 +835,7 @@ namespace OpenSim break; case "create": - if (CreateAccount != null) - { - CreateAccount(cmdparams); - } + CreateAccount(cmdparams); break; case "create-region": -- cgit v1.1