Skip to content

Commit

Permalink
Remove duplicated logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ktos committed Oct 27, 2019
1 parent c598c5b commit 33141a7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,6 @@ private static void Configure(Options opts)
var password = config.GetValue("password", opts.Password);
timeBetweenUpdates = config.GetValue("timeBetweenUpdates", opts.TimeBetweenUpdates ?? 60);

if (timeBetweenUpdates == 0)
opts.RunOnce = true;

nagMessage = config.GetValue("nagMessage", "Hej! Twój post prawdopodobnie zawiera niesformatowany kod. Użyj znaczników ``` aby oznaczyć, co jest kodem, będzie łatwiej czytać. (jestem botem, ta akcja została wykonana automatycznie, prawdopodobieństwo {0})");

Endpoints.IsDebug = config.GetValue("useDebug4p", opts.UseDebug4p ?? true);
Expand Down

0 comments on commit 33141a7

Please sign in to comment.