LIBOMV-643: Missing help for '@' command added

Group invite without a group role was not possible (now allows default role to be assigned if none is specified).



git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3029 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Latif Khalifa
2009-07-25 20:13:28 +00:00
parent dfd91e393b
commit 4d44dbe8e5
2 changed files with 27 additions and 0 deletions

View File

@@ -30,6 +30,9 @@ namespace OpenMetaverse.TestClient
return "parse error avatar UUID";
if (!UUID.TryParse(args[1], out group))
return "parse error group UUID";
if (2 == args.Length)
roles.Add(UUID.Zero);
else
for (int i = 2; i < args.Length; i++)
if (UUID.TryParse(args[i], out role))
roles.Add(role);