@@ -22,8 +22,6 @@ public static class Methods
2222 /// </summary>
2323 public static bool CheckCondition ( BotData data , bool leftTerm , BoolComparison comparison , bool rightTerm )
2424 {
25- data . Logger . LogHeader ( ) ;
26-
2725 var result = RuriLib . Functions . Conditions . Conditions . Check ( leftTerm , comparison , rightTerm ) ;
2826
2927 if ( result )
@@ -39,8 +37,6 @@ public static bool CheckCondition(BotData data, bool leftTerm, BoolComparison co
3937 /// </summary>
4038 public static bool CheckCondition ( BotData data , string leftTerm , StrComparison comparison , string rightTerm )
4139 {
42- data . Logger . LogHeader ( ) ;
43-
4440 var result = RuriLib . Functions . Conditions . Conditions . Check ( leftTerm , comparison , rightTerm ) ;
4541
4642 if ( result )
@@ -56,8 +52,6 @@ public static bool CheckCondition(BotData data, string leftTerm, StrComparison c
5652 /// </summary>
5753 public static bool CheckCondition ( BotData data , List < string > leftTerm , ListComparison comparison , string rightTerm )
5854 {
59- data . Logger . LogHeader ( ) ;
60-
6155 var result = RuriLib . Functions . Conditions . Conditions . Check ( leftTerm , comparison , rightTerm ) ;
6256
6357 if ( result )
@@ -73,8 +67,6 @@ public static bool CheckCondition(BotData data, List<string> leftTerm, ListCompa
7367 /// </summary>
7468 public static bool CheckCondition ( BotData data , int leftTerm , NumComparison comparison , int rightTerm )
7569 {
76- data . Logger . LogHeader ( ) ;
77-
7870 var result = RuriLib . Functions . Conditions . Conditions . Check ( leftTerm , comparison , rightTerm ) ;
7971
8072 if ( result )
@@ -90,8 +82,6 @@ public static bool CheckCondition(BotData data, int leftTerm, NumComparison comp
9082 /// </summary>
9183 public static bool CheckCondition ( BotData data , float leftTerm , NumComparison comparison , float rightTerm )
9284 {
93- data . Logger . LogHeader ( ) ;
94-
9585 var result = RuriLib . Functions . Conditions . Conditions . Check ( leftTerm , comparison , rightTerm ) ;
9686
9787 if ( result )
@@ -107,8 +97,6 @@ public static bool CheckCondition(BotData data, float leftTerm, NumComparison co
10797 /// </summary>
10898 public static bool CheckCondition ( BotData data , Dictionary < string , string > leftTerm , DictComparison comparison , string rightTerm )
10999 {
110- data . Logger . LogHeader ( ) ;
111-
112100 var result = RuriLib . Functions . Conditions . Conditions . Check ( leftTerm , comparison , rightTerm ) ;
113101
114102 if ( result )
@@ -124,8 +112,6 @@ public static bool CheckCondition(BotData data, Dictionary<string, string> leftT
124112 /// </summary>
125113 public static bool CheckGlobalBanKeys ( BotData data )
126114 {
127- data . Logger . LogHeader ( ) ;
128-
129115 var result = data . Providers . ProxySettings . ContainsBanKey ( data . SOURCE , out var matchedKey ) ;
130116
131117 if ( result )
@@ -141,8 +127,6 @@ public static bool CheckGlobalBanKeys(BotData data)
141127 /// </summary>
142128 public static bool CheckGlobalRetryKeys ( BotData data )
143129 {
144- data . Logger . LogHeader ( ) ;
145-
146130 var result = data . Providers . ProxySettings . ContainsRetryKey ( data . SOURCE , out var matchedKey ) ;
147131
148132 if ( result )
0 commit comments