mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-03-10 00:20:03 +00:00
Add support for verbose logging.
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
#include "contrib/INIReader.hpp"
|
||||
|
||||
// defaults :)
|
||||
bool settings::VERBOSE = false;
|
||||
|
||||
int settings::LOGINPORT = 8001;
|
||||
bool settings::LOGINRANDCHARACTERS = false;
|
||||
|
||||
@@ -30,6 +32,7 @@ void settings::init() {
|
||||
return;
|
||||
}
|
||||
|
||||
VERBOSE = reader.GetBoolean("", "verbose", VERBOSE);
|
||||
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