From 391a3f05137a7586110e8a8f03d685de24966d12 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sun, 15 Jan 2023 00:01:42 +0100 Subject: [PATCH] Medusae names should now be case sensitive and will be saved in the config with the proper capitalization --- src/NadekoBot/Common/Medusa/Config/MedusaConfigService.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/NadekoBot/Common/Medusa/Config/MedusaConfigService.cs b/src/NadekoBot/Common/Medusa/Config/MedusaConfigService.cs index 95d604319..50cb305ea 100644 --- a/src/NadekoBot/Common/Medusa/Config/MedusaConfigService.cs +++ b/src/NadekoBot/Common/Medusa/Config/MedusaConfigService.cs @@ -22,8 +22,6 @@ public sealed class MedusaConfigService : ConfigServiceBase, IMedu public void AddLoadedMedusa(string name) { - name = name.Trim().ToLowerInvariant(); - ModifyConfig(conf => { if (conf.Loaded is null) @@ -36,8 +34,6 @@ public sealed class MedusaConfigService : ConfigServiceBase, IMedu public void RemoveLoadedMedusa(string name) { - name = name.Trim().ToLowerInvariant(); - ModifyConfig(conf => { if (conf.Loaded is null)