This commit is contained in:
Mark Veidemanis 2018-04-21 14:38:07 +01:00
parent 369ddbe939
commit 7de25e44f4
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class Add:
"certificate": main.config["Default"]["certificate"],
"enabled": main.config["ConnectOnCreate"],
}
if config["ConnectOnCreate"] == True:
if main.config["ConnectOnCreate"] == True:
helper.addBot(name)
success("Successfully created bot")
main.saveConf("pool")