diff options
| author | 2018-08-30 11:40:41 +0100 | |
|---|---|---|
| committer | 2018-08-30 11:40:41 +0100 | |
| commit | 568d714fb2c17f67ebbff725efc8851f51ee870d (patch) | |
| tree | 84750885d1f4a9382c01e8ee7390e318d00756e8 /start.py | |
| parent | IRCServer.remove_own_mode doesn't take an "arg" (diff) | |
Return config from Config.load_config instead of setting it on bot
Diffstat (limited to 'start.py')
| -rwxr-xr-x | start.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -19,9 +19,10 @@ args = arg_parser.parse_args() bot = IRCBot.Bot() database = Database.Database(bot, args.database) -config_object = Config.Config(bot, args.config) +config = Config.Config(bot, args.config) + bot.database = database -bot.config_object = config_object +bot.config = config.load_config() bot.args = args bot.modules.load_modules() |
