summaryrefslogtreecommitdiffhomepage
path: root/webserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webserver.cpp')
-rw-r--r--webserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/webserver.cpp b/webserver.cpp
index dd06021..71829bb 100644
--- a/webserver.cpp
+++ b/webserver.cpp
@@ -40,7 +40,7 @@ int main(int argc, char* argv[])
if (!plugin_loader.validate_config())
throw std::runtime_error("Couldn't find all configured plugins.");
- return server(config);
+ return run_server(config, plugin_loader.get_plugins());
} catch (const std::exception& ex) {
std::cout << "Error: " << ex.what() << std::endl;
return 1;