aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-02-03 09:16:56 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-02-03 09:16:56 -0600
commit75cd4f807eedd018f5c4e49f00973a5a20aaeb6c (patch)
tree3e6a9f42db053f9f604192e21e4aa561760f8d3b /src/slskd/Application.cs
parent9dda24ccfab947932df56f6d808a2dde48e0d163 (diff)
downloadslskd-75cd4f807eedd018f5c4e49f00973a5a20aaeb6c.tar.gz
add constants for built in groups
Diffstat (limited to 'src/slskd/Application.cs')
-rw-r--r--src/slskd/Application.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 2b6177d6..2b3b4e0d 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -54,6 +54,21 @@ namespace slskd
public sealed class Application : IApplication
{
+ /// <summary>
+ /// The name of the default user group.
+ /// </summary>
+ public static readonly string DefaultGroup = "default";
+
+ /// <summary>
+ /// The name of the priviledged user group.
+ /// </summary>
+ public static readonly string PriviledgedGroup = "priviledged";
+
+ /// <summary>
+ /// The name of the leecher user group.
+ /// </summary>
+ public static readonly string LeecherGroup = "leechers";
+
private static readonly int ReconnectMaxDelayMilliseconds = 300000; // 5 minutes
public Application(