mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-14 17:11:04 +00:00
Add verbosity levels.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include "contrib/INIReader.hpp"
|
||||
|
||||
// defaults :)
|
||||
bool settings::VERBOSE = false;
|
||||
int settings::VERBOSITY = 1;
|
||||
|
||||
int settings::LOGINPORT = 8001;
|
||||
bool settings::LOGINRANDCHARACTERS = false;
|
||||
@@ -32,7 +32,7 @@ void settings::init() {
|
||||
return;
|
||||
}
|
||||
|
||||
VERBOSE = reader.GetBoolean("", "verbose", VERBOSE);
|
||||
VERBOSITY = reader.GetInteger("", "verbosity", VERBOSITY);
|
||||
LOGINPORT = reader.GetInteger("login", "port", LOGINPORT);
|
||||
LOGINRANDCHARACTERS = reader.GetBoolean("login", "randomcharacters", LOGINRANDCHARACTERS);
|
||||
SHARDPORT = reader.GetInteger("shard", "port", SHARDPORT);
|
||||
|
||||
Reference in New Issue
Block a user