diff --git a/LightlessSync/Services/ServerConfiguration/ServerConfigurationManager.cs b/LightlessSync/Services/ServerConfiguration/ServerConfigurationManager.cs index f90d7a2..25d9796 100644 --- a/LightlessSync/Services/ServerConfiguration/ServerConfigurationManager.cs +++ b/LightlessSync/Services/ServerConfiguration/ServerConfigurationManager.cs @@ -504,7 +504,7 @@ public class ServerConfigurationManager internal void RenameTag(Dictionary> tags, HashSet storage, string oldName, string newName) { - if (newName.Length > _maxCharactersFolder) + if (newName.Length < _maxCharactersFolder) { storage.Remove(oldName); storage.Add(newName);