Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-04-09 19:50:42 +0000
committerStijn Buys <ingar@osirion.org>2008-04-09 19:50:42 +0000
commit62423c6b9fbae0f427eac6d26d39db80541d5ee2 (patch)
tree62ebeb0b3b23d1643aa017dddd09c41397b98b0f /src
parent644479214119760394db18ec2488917ffb3a6c54 (diff)
parse command line before the server is started
Diffstat (limited to 'src')
-rw-r--r--src/server/server.cc3
1 files changed, 3 insertions, 0 deletions
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);
}