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/Grid/MessagingServer/Main.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Grid/MessagingServer') diff --git a/OpenSim/Grid/MessagingServer/Main.cs b/OpenSim/Grid/MessagingServer/Main.cs index 9b7e731..13f52ab 100644 --- a/OpenSim/Grid/MessagingServer/Main.cs +++ b/OpenSim/Grid/MessagingServer/Main.cs @@ -127,11 +127,11 @@ namespace OpenSim.Grid.MessagingServer base.StartupSpecific(); - m_console.Commands.AddCommand("messageserver", "clear cache", + m_console.Commands.AddCommand("messageserver", false, "clear cache", "clear cache", "Clear presence cache", HandleClearCache); - m_console.Commands.AddCommand("messageserver", "register", + m_console.Commands.AddCommand("messageserver", false, "register", "register", "Re-register with user server(s)", HandleRegister); } -- cgit v1.1