Update modules/signals.py to use the new Config "system"

This commit is contained in:
jesopo 2018-09-29 20:27:20 +01:00
parent 63fc39e448
commit aa0c9ec9f1

View file

@ -24,6 +24,5 @@ class Module(object):
def SIGUSR1(self, signum, frame): def SIGUSR1(self, signum, frame):
self.bot.log.info("Reloading config file", []) self.bot.log.info("Reloading config file", [])
config = Config.Config(self.bot, self.bot.args.config) self.bot.config.load()
self.bot.config = config.load_config()
self.bot.log.info("Reloaded config file", []) self.bot.log.info("Reloaded config file", [])