Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

BannedUntil on TempBanUser takes a unix timestamp now. #28

Merged
merged 3 commits into from

2 participants

This page is out of date. Refresh to see the latest.
View
2  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;
Something went wrong with that request. Please try again.