aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Shares/ShareService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Shares/ShareService.cs b/src/slskd/Shares/ShareService.cs
index b36c7898..d6c6b977 100644
--- a/src/slskd/Shares/ShareService.cs
+++ b/src/slskd/Shares/ShareService.cs
@@ -50,7 +50,7 @@ namespace slskd.Shares
ShareRepositoryFactory = shareRepositoryFactory;
- var host = new Host("local");
+ var host = new Host(Program.LocalHostName);
var repository = ShareRepositoryFactory.CreateFromHost(host.Name);
Local = (host, repository);