cleanup and fixes

This commit is contained in:
Aaron Kimbre
2025-01-02 16:28:34 -06:00
parent 9387a8e3d1
commit 2d08ec641c
3 changed files with 4 additions and 5 deletions

View File

@@ -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();