From 1ff56949609970ecbe09b610427db50ff5c6bdd7 Mon Sep 17 00:00:00 2001 From: kamilprzyb <64405781+kamilprzyb@users.noreply.github.com> Date: Wed, 2 Sep 2020 17:47:10 +0200 Subject: [PATCH] Fix APPROVEALLNAMES setting fixed GetInteger->GetBoolean Co-authored-by: FinnHornhoover <30576665+FinnHornhoover@users.noreply.github.com> --- src/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.cpp b/src/settings.cpp index fc69d63..f030f8d 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -36,7 +36,7 @@ void settings::init() { return; } - APPROVEALLNAMES = reader.GetInteger("", "acceptallcustomnames", APPROVEALLNAMES); + APPROVEALLNAMES = reader.GetBoolean("", "acceptallcustomnames", APPROVEALLNAMES); VERBOSITY = reader.GetInteger("", "verbosity", VERBOSITY); LOGINPORT = reader.GetInteger("login", "port", LOGINPORT); LOGINRANDCHARACTERS = reader.GetBoolean("login", "randomcharacters", LOGINRANDCHARACTERS);