From 4bc88a03970924a12c548f26e8e729b47b7de59b Mon Sep 17 00:00:00 2001 From: Madpeter Date: Mon, 7 Sep 2020 00:30:20 +0100 Subject: [PATCH] removes unused bool value used to check if RLV is enabled (uses the config) this was blocking RLV commands from working --- Core/bottypes/RLVbot.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/bottypes/RLVbot.cs b/Core/bottypes/RLVbot.cs index ac70b47..4f217aa 100644 --- a/Core/bottypes/RLVbot.cs +++ b/Core/bottypes/RLVbot.cs @@ -10,7 +10,6 @@ namespace BSB.bottypes public abstract class RLVbot : RLVbotHelper { // normal bot stuff - protected bool allow_RLV; protected RLV.RLVcontrol RLVinterface; public RLV.RLVcontrol GetRLVinterface { get { return RLVinterface; } } @@ -32,7 +31,7 @@ namespace BSB.bottypes base.ChatInputHandler(sender, e); if (e.Type == ChatType.OwnerSay) { - if (allow_RLV == true) + if (myconfig.Setting_AllowRLV == true) { if (e.Message.StartsWith("@") == true) {