diff options
author | Melanie Thielker | 2009-02-10 23:15:48 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-02-10 23:15:48 +0000 |
commit | 9bfbfa381abc92f3c5fc8e97405943128c85c5d4 (patch) | |
tree | 06248d4262cfd0e053010d6b8b6a19b8f6db2d40 /OpenSim/Grid/GridServer/GridServerBase.cs | |
parent | Fixes the problem of attachment offset after crossings/TPs. Hopefully it fixe... (diff) | |
download | opensim-SC_OLD-9bfbfa381abc92f3c5fc8e97405943128c85c5d4.zip opensim-SC_OLD-9bfbfa381abc92f3c5fc8e97405943128c85c5d4.tar.gz opensim-SC_OLD-9bfbfa381abc92f3c5fc8e97405943128c85c5d4.tar.bz2 opensim-SC_OLD-9bfbfa381abc92f3c5fc8e97405943128c85c5d4.tar.xz |
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.
Diffstat (limited to 'OpenSim/Grid/GridServer/GridServerBase.cs')
-rw-r--r-- | OpenSim/Grid/GridServer/GridServerBase.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Grid/GridServer/GridServerBase.cs b/OpenSim/Grid/GridServer/GridServerBase.cs index 3fb07b5..9cc25e8 100644 --- a/OpenSim/Grid/GridServer/GridServerBase.cs +++ b/OpenSim/Grid/GridServer/GridServerBase.cs | |||
@@ -114,15 +114,17 @@ namespace OpenSim.Grid.GridServer | |||
114 | 114 | ||
115 | base.StartupSpecific(); | 115 | base.StartupSpecific(); |
116 | 116 | ||
117 | m_console.Commands.AddCommand("gridserver", "enable registration", | 117 | m_console.Commands.AddCommand("gridserver", false, |
118 | "enable registration", | ||
118 | "enable registration", | 119 | "enable registration", |
119 | "Enable new regions to register", HandleRegistration); | 120 | "Enable new regions to register", HandleRegistration); |
120 | 121 | ||
121 | m_console.Commands.AddCommand("gridserver", "disable registration", | 122 | m_console.Commands.AddCommand("gridserver", false, |
123 | "disable registration", | ||
122 | "disable registration", | 124 | "disable registration", |
123 | "Disable registering new regions", HandleRegistration); | 125 | "Disable registering new regions", HandleRegistration); |
124 | 126 | ||
125 | m_console.Commands.AddCommand("gridserver", "show status", | 127 | m_console.Commands.AddCommand("gridserver", false, "show status", |
126 | "show status", | 128 | "show status", |
127 | "Show registration status", HandleShowStatus); | 129 | "Show registration status", HandleShowStatus); |
128 | } | 130 | } |