Skip to content

Commit

Permalink
- Add missing robots.txt
Browse files Browse the repository at this point in the history
- Changes to successfully compile under mono's compiler
- Removed unused comparer.
  • Loading branch information
Katharine committed Jul 17, 2008
1 parent b547961 commit 96feb12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions server/Html/SendMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public class SendMessage : IFile
private IDirectory parent;
private Dictionary<Guid, User> users;
private System.Security.Cryptography.MD5 md5 = System.Security.Cryptography.MD5CryptoServiceProvider.Create();
private Comparer insensitive = new Comparer(System.Globalization.CultureInfo.InvariantCulture);

// Anything in this list must be signed to be accepted.
// Should match (or be a subset of) the list in client/AjaxLife.Network.js.
Expand Down Expand Up @@ -304,7 +303,6 @@ public void OnFileRequested(HttpRequest request, IDirectory directory)
client.Self.AnimationStop(new LLUUID(POST["Animation"]), true);
break;
case "SendAppearance":
// This apparently crashes OpenSim, so disable it there.
client.Appearance.SetPreviousAppearance(false);
break;
case "GetMapItems":
Expand Down Expand Up @@ -581,8 +579,8 @@ public void OnFileRequested(HttpRequest request, IDirectory directory)
if (POST.ContainsKey("Name")) item.Name = POST["Name"];
if (POST.ContainsKey("Description")) item.Description = POST["Description"];
if (POST.ContainsKey("NextOwnerMask")) item.Permissions.NextOwnerMask = (PermissionMask)uint.Parse(POST["NextOwnerMask"]);
if (POST.ContainsKey("SalePrice")) item.SalePrice = int.Parse(POST["SalePrice"]);
if (POST.ContainsKey("SaleType")) item.SaleType = (SaleType)byte.Parse(POST["SaleType"]);
if (POST.ContainsKey("SalePrice")) item.SalePrice = int.Parse(POST["SalePrice"]);
if (POST.ContainsKey("SaleType")) item.SaleType = (SaleType)int.Parse(POST["SaleType"]); // This should be byte.Parse, but this upsets mono's compiler (CS1002)
client.Inventory.RequestUpdateItem(item);
}
break;
Expand Down
2 changes: 2 additions & 0 deletions server/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /

0 comments on commit 96feb12

Please sign in to comment.