diff options
| author | 2019-12-10 05:26:16 +0000 | |
|---|---|---|
| committer | 2019-12-10 05:26:16 +0000 | |
| commit | 9d16f7d5237b3b7a55e01b375747e40d7c1ced43 (patch) | |
| tree | 6caf8fc26e9aab399a9c1cfb93165ff01da44a59 /src/IRCBot.py | |
| parent | use get_list and set_list to move dynamic module en/disabling to bot.conf (diff) | |
| signature | ||
move sys.exit() codes to an enum in utils.consts
Diffstat (limited to 'src/IRCBot.py')
| -rw-r--r-- | src/IRCBot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IRCBot.py b/src/IRCBot.py index 40728096..89779f98 100644 --- a/src/IRCBot.py +++ b/src/IRCBot.py @@ -144,7 +144,7 @@ class Bot(object): exc_info = True self.log.critical("panic() called: %s", [reason], exc_info=exc_info) - sys.exit(20) + sys.exit(utils.consts.Exit.PANIC) def _module_lists(self): whitelist = self.config.get_list("module-whitelist") |
