Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/server.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/server.cc b/src/server/server.cc
index 4f7d1e9..dde1346 100644
--- a/src/server/server.cc
+++ b/src/server/server.cc
@@ -54,11 +54,13 @@ void Server::init()
{
con_print << "Initializing server..." << std::endl;
+ core::sv_private = core::cvar::set("sv_private", "0", core::cvar::ReadOnly);
core::Application::init();
console::init();
- core::Application::connect();
+ std::string empty;
+ core::Application::connect(empty);
}
void Server::run()