minor: small message adjustment and unnecessary code elimination when notifying client of no build permission

This commit is contained in:
Justin Clark-Casey (justincc)
2012-03-31 01:07:14 +01:00
parent c2b98cfd4e
commit 69fc8c4985
2 changed files with 2 additions and 2 deletions

View File

@@ -1978,7 +1978,7 @@ namespace OpenSim.Region.Framework.Scenes
else
{
IClientAPI client = null;
if (this.TryGetClient(ownerID, out client))
if (TryGetClient(ownerID, out client))
client.SendAlertMessage("You cannot create objects here.");
}
}