diff options
| author | 2019-05-12 14:10:59 +0100 | |
|---|---|---|
| committer | 2019-05-12 14:10:59 +0100 | |
| commit | 1c296826d7e20def21ec577c71590dee4bb1c0e1 (patch) | |
| tree | 99bfbc84a4fcd8f31541664fca4cd187c0db1cd7 /start.py | |
| parent | Handle ERR_SASLALREADY (diff) | |
| signature | ||
Move module black/white list to IRCBot, allow "safe" loading of all modules
Diffstat (limited to 'start.py')
| -rwxr-xr-x | start.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -71,12 +71,11 @@ if args.module: module.module.command_line(args.module_args) sys.exit(0) -whitelist = bot.get_setting("module-whitelist", []) -blacklist = bot.get_setting("module-blacklist", []) server_configs = bot.database.servers.get_all() + if len(server_configs): - modules.load_modules(bot, whitelist=whitelist, blacklist=blacklist) + bot.load_modules() servers = [] for server_id, alias in server_configs: |
