diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-02-03 09:16:56 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-02-03 09:16:56 -0600 |
| commit | 75cd4f807eedd018f5c4e49f00973a5a20aaeb6c (patch) | |
| tree | 3e6a9f42db053f9f604192e21e4aa561760f8d3b /src/slskd | |
| parent | 9dda24ccfab947932df56f6d808a2dde48e0d163 (diff) | |
| download | slskd-75cd4f807eedd018f5c4e49f00973a5a20aaeb6c.tar.gz | |
add constants for built in groups
Diffstat (limited to 'src/slskd')
| -rw-r--r-- | src/slskd/Application.cs | 15 |
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( |
