Skip to content

Commit

Permalink
Merge pull request #28 from keverw/Frozen
Browse files Browse the repository at this point in the history
BannedUntil on TempBanUser takes a unix timestamp now.
  • Loading branch information
RevolutionSmythe committed Mar 19, 2013
2 parents de6e843 + 7dec511 commit d8ca501
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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;
Expand Down

0 comments on commit d8ca501

Please sign in to comment.