diff --git a/maubot/__main__.py b/maubot/__main__.py index b88d960..a188ff5 100644 --- a/maubot/__main__.py +++ b/maubot/__main__.py @@ -61,7 +61,7 @@ clients = init_client_class(db_session, loop) management_api = init_mgmt_api(config, loop) server = MaubotServer(config, loop) server.app.add_subapp(config["server.base_path"], management_api) -plugins = init_plugin_instance_class(db_session, config, server.app, loop) +plugins = init_plugin_instance_class(db_session, config, server, loop) for plugin in plugins: plugin.load()