Permalink
Browse files

Merge pull request #28 from keverw/Frozen

BannedUntil on TempBanUser takes a unix timestamp now.
  • Loading branch information...
2 parents de6e843 + 7dec511 commit d8ca5014876e6d5f8a5e29d7a17476d2ff026a22 @RevolutionSmythe RevolutionSmythe committed Mar 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 AuroraService/addon-modules/AuroraWebUI/Modules/WebUIHandler.cs
@@ -1161,7 +1161,7 @@ private OSDMap TempBanUser(OSDMap map)
OSDMap resp = new OSDMap();
resp["Finished"] = OSD.FromBoolean(true);
UUID agentID = map["UserID"].AsUUID();
- DateTime until = map["BannedUntil"].AsDate();
+ DateTime until = Util.ToDateTime(map["BannedUntil"].AsInteger()); //BannedUntil is a unix timestamp of the date and time the user should be banned till
doBan(agentID, until);
return resp;

0 comments on commit d8ca501

Please sign in to comment.