Make tags actually persist through restarts

This commit is contained in:
Deukhoofd committed 2018-11-05 15:40:17 +01:00
1 parent dd177fa012
commit 2e77b6d563
1 file changed
+2 -1
@@ -16,7 +16,7 @@ namespace DeukBot4.MessageHandlers.CommandHandler
public class ServerTags
{
private readonly Dictionary<string, string> Tags = new Dictionary<string, string>();
private ulong ServerId { get; set; }
private ulong ServerId { get; }
public ServerTags(ulong serverId)
{
@@ -24,6 +24,7 @@ namespace DeukBot4.MessageHandlers.CommandHandler
}
public ServerTags(ulong serverId, Dictionary<string, string> tags)
:this(serverId)
{
Tags = tags;
}