Use ASF instead of Main for global logging routines, closes #280

This commit is contained in:
JustArchi
2016-07-04 22:46:08 +02:00
parent 38eb130217
commit 69d6d6e10b
3 changed files with 10 additions and 13 deletions

View File

@@ -60,7 +60,6 @@ namespace ConfigGenerator {
string botName = Path.GetFileNameWithoutExtension(configFile);
switch (botName) {
case Program.ASF:
case "Main":
case "example":
case "minimal":
continue;
@@ -163,7 +162,6 @@ namespace ConfigGenerator {
switch (input) {
case Program.ASF:
case "Main":
case "example":
case "minimal":
Logging.LogGenericErrorWithoutStacktrace("This name is reserved!");