From cbf6dd07096a5879da60e4751f089151cc829ca9 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Mon, 11 May 2020 13:14:51 +0100 Subject: [PATCH] they both did the same thing anyway... --- Core/RLV/Miscellaneous/clear.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Core/RLV/Miscellaneous/clear.cs b/Core/RLV/Miscellaneous/clear.cs index 5e29792..4a38f35 100644 --- a/Core/RLV/Miscellaneous/clear.cs +++ b/Core/RLV/Miscellaneous/clear.cs @@ -9,16 +9,8 @@ namespace BSB.RLV.Miscellaneous { public override bool CallFunction(string[] args) { - if(args.Length == 1) - { - bot.Clearrule(false, caller_uuid); - bot.Clearrule(true, caller_uuid); - } - else - { - bot.Clearrule(false, caller_uuid); - bot.Clearrule(true, caller_uuid); - } + bot.Clearrule(false, caller_uuid); + bot.Clearrule(true, caller_uuid); return true; } }