Normalize tabs to spaces.
Patch by Mimika Oh git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3485 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -342,15 +342,15 @@ namespace OpenMetaverse.TestClient
|
||||
TestClient testClient = (TestClient)state;
|
||||
if ((String.Empty == onlyAvatar) || (testClient.ToString() == onlyAvatar)) {
|
||||
if (testClient.Commands.ContainsKey(firstToken)) {
|
||||
string result;
|
||||
try {
|
||||
result = testClient.Commands[firstToken].Execute(args, fromAgentID);
|
||||
Logger.Log(result, Helpers.LogLevel.Info, testClient);
|
||||
} catch(Exception e) {
|
||||
Logger.Log(String.Format("{0} raised exception {1}", firstToken, e),
|
||||
Helpers.LogLevel.Error,
|
||||
testClient);
|
||||
}
|
||||
string result;
|
||||
try {
|
||||
result = testClient.Commands[firstToken].Execute(args, fromAgentID);
|
||||
Logger.Log(result, Helpers.LogLevel.Info, testClient);
|
||||
} catch(Exception e) {
|
||||
Logger.Log(String.Format("{0} raised exception {1}", firstToken, e),
|
||||
Helpers.LogLevel.Error,
|
||||
testClient);
|
||||
}
|
||||
} else
|
||||
Logger.Log("Unknown command " + firstToken, Helpers.LogLevel.Warning);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user