diff --git a/AuroraService/addon-modules/AuroraWebUI/Modules/WebUIHandler.cs b/AuroraService/addon-modules/AuroraWebUI/Modules/WebUIHandler.cs index dc59519..3ab946a 100644 --- a/AuroraService/addon-modules/AuroraWebUI/Modules/WebUIHandler.cs +++ b/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;