Permalink
Browse files

BannedUntil on TempBanUser takes a unix timestamp now.

  • Loading branch information...
1 parent de6e843 commit 84f7274d0b0e9bd9f5443c22f806fff672e66a0f @keverw 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 unixtime stamp of the day the user should be banned till
doBan(agentID, until);
return resp;

0 comments on commit 84f7274

Please sign in to comment.