Make TestClient logins always obey the --loginuri parameter

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2370 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-12-03 20:52:29 +00:00
parent dd408d38fb
commit d816950d40
2 changed files with 15 additions and 8 deletions

View File

@@ -168,6 +168,10 @@ namespace OpenMetaverse.TestClient
if(args[4].StartsWith("http://"))
account.URI = args[4];
if (string.IsNullOrEmpty(account.URI))
account.URI = Program.LoginURI;
Logger.Log("Using login URI " + account.URI, Helpers.LogLevel.Info);
return Login(account);
}