From 2c54ca30dd1458c78494fe9ad744bbb54bac6af9 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 11 Aug 2024 19:19:44 +0800 Subject: [PATCH] Missed converting this setting to use the extension method for booleans --- KfChatDotNetBot/ChatBot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/ChatBot.cs b/KfChatDotNetBot/ChatBot.cs index 2f98c01..7928881 100644 --- a/KfChatDotNetBot/ChatBot.cs +++ b/KfChatDotNetBot/ChatBot.cs @@ -580,7 +580,7 @@ public class ChatBot _logger.Info($"Message was: {message}"); return; } - if (GambaSeshPresent && settings[BuiltIn.Keys.GambaSeshDetectEnabled].Value == "true" && !bypassSeshDetect) + if (GambaSeshPresent && settings[BuiltIn.Keys.GambaSeshDetectEnabled].ToBoolean() && !bypassSeshDetect) { _logger.Info($"Not sending message '{message}' as GambaSesh is present"); return;