Update modules/signals.py to use the new Config "system"
This commit is contained in:
parent
63fc39e448
commit
aa0c9ec9f1
1 changed files with 1 additions and 2 deletions
|
@ -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", [])
|
||||||
|
|
Loading…
Reference in a new issue