Skip to content

Commit

Permalink
Never load example and minimal configs
Browse files Browse the repository at this point in the history
I'm getting tired of people not reading wiki
  • Loading branch information
JustArchi committed Mar 22, 2016
1 parent df415c8 commit 84a99c3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ArchiSteamFarm/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,11 @@ private static void Init(string[] args) {

foreach (var configFile in Directory.EnumerateFiles(ConfigDirectory, "*.json")) {
string botName = Path.GetFileNameWithoutExtension(configFile);
if (botName.Equals(ASF)) {
continue;
switch (botName) {
case ASF:
case "example":
case "minimal":
continue;
}

Bot bot = new Bot(botName);
Expand Down

0 comments on commit 84a99c3

Please sign in to comment.