mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
cleanup and fixes
This commit is contained in:
@@ -126,10 +126,10 @@ int main(int argc, char** argv) {
|
||||
|
||||
|
||||
bool web_server_enabled = Game::config->GetValue("web_server_enabled") == "1";
|
||||
auto chatwebapi = ChatWebAPI();
|
||||
ChatWebAPI chatwebapi;
|
||||
|
||||
if (web_server_enabled) {
|
||||
LOG("Web server enabled, will process http requests.");
|
||||
chatwebapi = ChatWebAPI();
|
||||
}
|
||||
|
||||
auto lastTime = std::chrono::high_resolution_clock::now();
|
||||
|
Reference in New Issue
Block a user