diff --git a/EmperorPalpatine/HTTPServer.cs b/EmperorPalpatine/HTTPServer.cs index ca65ce7..f914699 100644 --- a/EmperorPalpatine/HTTPServer.cs +++ b/EmperorPalpatine/HTTPServer.cs @@ -111,6 +111,8 @@ public class HTTPServer } if (context.Request.Query.ContainsKey("regex")) q.Regex = context.Request.Query["regex"]; + if (context.Request.Query.ContainsKey("random") && context.Request.Query["random"] == "1") + q.Random = true; if (q.Username == null && q.FromTimestamp == null && q.ToTimestamp == null && q.Count == null && q.Regex == null) q.Count = 10;