Skip to content

Commit

Permalink
Minor bugfix, where MinSteamLevel set to exactly 1, would not be reco…
Browse files Browse the repository at this point in the history
…gnized
  • Loading branch information
Sapd committed Jan 24, 2021
1 parent aefb00b commit 2e9ea37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SteamChecks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Oxide.Plugins
{
[Info("Steam Checks", "Sapd", "5.0.0")]
[Info("Steam Checks", "Sapd", "5.0.1")]
[Description("Kick players depending on information on their Steam profile")]
public class SteamChecks : CovalencePlugin
{
Expand Down Expand Up @@ -197,7 +197,7 @@ private void InitializeConfig()
if (maxAccountCreationTime > 0)
LogWarning(Lang("WarningPrivateProfileCreationTime"));

if (minSteamLevel > 1)
if (minSteamLevel > 0)
LogWarning(Lang("WarningPrivateProfileSteamLevel"));
}
}
Expand Down Expand Up @@ -405,7 +405,7 @@ private void CheckPlayer(string steamid, Action<bool, string> callback)
}
// Check Steam Level
if (minSteamLevel > 1)
if (minSteamLevel > 0)
{
GetSteamLevel(steamid, (steamLevelStatusCode, steamLevelResult) =>
{
Expand Down

0 comments on commit 2e9ea37

Please sign in to comment.