Applies patch by root66 from #126 which defaults to disallow group membbers access to TestClient commands.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1633 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Jim Radford
2008-02-07 17:32:06 +00:00
parent ef3796aa90
commit e24d38019d
3 changed files with 31 additions and 24 deletions

View File

@@ -24,6 +24,7 @@ namespace libsecondlife.TestClient
ClientManager manager;
List<LoginDetails> accounts = new List<LoginDetails>();
LoginDetails account;
bool groupCommands = false;
string masterName = String.Empty;
LLUUID masterKey = LLUUID.Zero;
string file = String.Empty;
@@ -31,6 +32,11 @@ namespace libsecondlife.TestClient
try
{
if (arguments["groupcommands"] != null)
{
groupCommands = true;
}
if (arguments["masterkey"] != null)
{
masterKey = LLUUID.Parse(arguments["masterkey"]);
@@ -121,6 +127,7 @@ namespace libsecondlife.TestClient
foreach (LoginDetails a in accounts)
{
a.GroupCommands = groupCommands;
a.MasterName = masterName;
a.MasterKey = masterKey;
a.URI = loginuri;