aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer
diff options
context:
space:
mode:
authorMelanie Thielker2009-02-10 23:15:48 +0000
committerMelanie Thielker2009-02-10 23:15:48 +0000
commit9bfbfa381abc92f3c5fc8e97405943128c85c5d4 (patch)
tree06248d4262cfd0e053010d6b8b6a19b8f6db2d40 /OpenSim/Grid/UserServer
parentFixes the problem of attachment offset after crossings/TPs. Hopefully it fixe... (diff)
downloadopensim-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/UserServer')
-rw-r--r--OpenSim/Grid/UserServer/Main.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs
index 0b0bee1..dd3f0b7 100644
--- a/OpenSim/Grid/UserServer/Main.cs
+++ b/OpenSim/Grid/UserServer/Main.cs
@@ -122,32 +122,32 @@ namespace OpenSim.Grid.UserServer
122 122
123 base.StartupSpecific(); 123 base.StartupSpecific();
124 124
125 m_console.Commands.AddCommand("userserver", "create user", 125 m_console.Commands.AddCommand("userserver", false, "create user",
126 "create user [<first> [<last> [<x> <y> [email]]]]", 126 "create user [<first> [<last> [<x> <y> [email]]]]",
127 "Create a new user account", RunCommand); 127 "Create a new user account", RunCommand);
128 128
129 m_console.Commands.AddCommand("userserver", "reset user password", 129 m_console.Commands.AddCommand("userserver", false, "reset user password",
130 "reset user password [<first> [<last> [<new password>]]]", 130 "reset user password [<first> [<last> [<new password>]]]",
131 "Reset a user's password", RunCommand); 131 "Reset a user's password", RunCommand);
132 132
133 m_console.Commands.AddCommand("userserver", "login level", 133 m_console.Commands.AddCommand("userserver", false, "login level",
134 "login level <level>", 134 "login level <level>",
135 "Set the minimum user level to log in", HandleLoginCommand); 135 "Set the minimum user level to log in", HandleLoginCommand);
136 136
137 m_console.Commands.AddCommand("userserver", "login reset", 137 m_console.Commands.AddCommand("userserver", false, "login reset",
138 "login reset", 138 "login reset",
139 "Reset the login level to allow all users", 139 "Reset the login level to allow all users",
140 HandleLoginCommand); 140 HandleLoginCommand);
141 141
142 m_console.Commands.AddCommand("userserver", "login text", 142 m_console.Commands.AddCommand("userserver", false, "login text",
143 "login text <text>", 143 "login text <text>",
144 "Set the text users will see on login", HandleLoginCommand); 144 "Set the text users will see on login", HandleLoginCommand);
145 145
146 m_console.Commands.AddCommand("userserver", "test-inventory", 146 m_console.Commands.AddCommand("userserver", false, "test-inventory",
147 "test-inventory", 147 "test-inventory",
148 "Perform a test inventory transaction", RunCommand); 148 "Perform a test inventory transaction", RunCommand);
149 149
150 m_console.Commands.AddCommand("userserver", "logoff-user", 150 m_console.Commands.AddCommand("userserver", false, "logoff-user",
151 "logoff-user <first> <last> <message>", 151 "logoff-user <first> <last> <message>",
152 "Log off a named user", RunCommand); 152 "Log off a named user", RunCommand);
153 } 153 }