* Wait up to 10 seconds for an event queue to connect if Self.Teleport() is called when no event queue is connected
* Check if a command exists before running it in TestClient git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2295 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -259,8 +259,12 @@ namespace OpenMetaverse.TestClient
|
||||
delegate(object state)
|
||||
{
|
||||
TestClient testClient = (TestClient)state;
|
||||
Logger.Log(testClient.Commands[firstToken].Execute(args, fromAgentID),
|
||||
Helpers.LogLevel.Info, testClient);
|
||||
if (testClient.Commands.ContainsKey(firstToken))
|
||||
Logger.Log(testClient.Commands[firstToken].Execute(args, fromAgentID),
|
||||
Helpers.LogLevel.Info, testClient);
|
||||
else
|
||||
Logger.Log("Unknown command " + firstToken, Helpers.LogLevel.Warning);
|
||||
|
||||
++completed;
|
||||
},
|
||||
client);
|
||||
|
||||
Reference in New Issue
Block a user