From 62423c6b9fbae0f427eac6d26d39db80541d5ee2 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 9 Apr 2008 19:50:42 +0000 Subject: parse command line before the server is started --- src/server/server.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/server/server.cc b/src/server/server.cc index c4c0b88..8dcbb65 100644 --- a/src/server/server.cc +++ b/src/server/server.cc @@ -58,6 +58,9 @@ void Server::init(int count, char **arguments) console::init(); + // the command line is in the buffer, execute it + core::CommandBuffer::exec(); + std::string empty; core::Application::connect(empty); } -- cgit v1.2.3