private OSDMap AbuseReportMarkComplete(OSDMap map)
{
OSDMap resp = new OSDMap();
IAbuseReports ar = m_registry.RequestModuleInterface<IAbuseReports>();
AbuseReport tar = ar.GetAbuseReport(map["Number"].AsInteger());
if (tar != null)
{
tar.Active = false;
ar.UpdateAbuseReport(tar);
resp["Finished"] = OSD.FromBoolean(true);
}
else
{
resp["Finished"] = OSD.FromBoolean(false);
resp["Failed"] = OSD.FromString(String.Format("No abuse report found with specified number {0}", map["Number"].AsInteger()));
}
return resp;
}