More plugin module loading checks
This commit is contained in:
parent
6aef53bad6
commit
3a11382969
1 changed files with 4 additions and 1 deletions
|
|
@ -600,7 +600,10 @@ if ENABLED:
|
||||||
for plugin_module in SERVER_SERVICES_PLUGIN_MODULES:
|
for plugin_module in SERVER_SERVICES_PLUGIN_MODULES:
|
||||||
# external plugin protocols - load here
|
# external plugin protocols - load here
|
||||||
plugin_module = mod_import(plugin_module)
|
plugin_module = mod_import(plugin_module)
|
||||||
plugin_module.start_plugin_services(EVENNIA)
|
if plugin_module:
|
||||||
|
plugin_module.start_plugin_services(EVENNIA)
|
||||||
|
else:
|
||||||
|
print(f"Could not load plugin module {plugin_module}")
|
||||||
|
|
||||||
# clear server startup mode
|
# clear server startup mode
|
||||||
ServerConfig.objects.conf("server_starting_mode", delete=True)
|
ServerConfig.objects.conf("server_starting_mode", delete=True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue