From 9bfbfa381abc92f3c5fc8e97405943128c85c5d4 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 10 Feb 2009 23:15:48 +0000 Subject: Add proper handling for shared vs. unshared modules to the command interface. Shared modules will now only get added once, so the command handler is called once per module, not once per scene. Removal of scenes has no adverse effects. Nonshared modules will be called for each scene. --- OpenSim/Framework/Servers/BaseOpenSimServer.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'OpenSim/Framework/Servers') diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index ac5e183..ff53e1a 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs @@ -104,35 +104,35 @@ namespace OpenSim.Framework.Servers { SetConsoleLogLevel(new string[] { "ALL" }); - m_console.Commands.AddCommand("base", "quit", + m_console.Commands.AddCommand("base", false, "quit", "quit", "Quit the application", HandleQuit); - m_console.Commands.AddCommand("base", "shutdown", + m_console.Commands.AddCommand("base", false, "shutdown", "shutdown", "Quit the application", HandleQuit); - m_console.Commands.AddCommand("base", "set log level", + m_console.Commands.AddCommand("base", false, "set log level", "set log level ", "Set the console logging level", HandleLogLevel); - m_console.Commands.AddCommand("base", "show info", + m_console.Commands.AddCommand("base", false, "show info", "show info", "Show general information", HandleShow); - m_console.Commands.AddCommand("base", "show stats", + m_console.Commands.AddCommand("base", false, "show stats", "show stats", "Show statistics", HandleShow); - m_console.Commands.AddCommand("base", "show threads", + m_console.Commands.AddCommand("base", false, "show threads", "show threads", "Show thread status", HandleShow); - m_console.Commands.AddCommand("base", "show uptime", + m_console.Commands.AddCommand("base", false, "show uptime", "show uptime", "Show server uptime", HandleShow); - m_console.Commands.AddCommand("base", "show version", + m_console.Commands.AddCommand("base", false, "show version", "show version", "Show server version", HandleShow); } -- cgit v1.1