removes unused bool value used to check if RLV is enabled (uses the config) this was blocking RLV commands from working
This commit is contained in:
parent
fdb884876f
commit
4bc88a0397
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue