From 42e26d67756afc2cb8cdeb97ed654507c7cf4f3e Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Thu, 5 Jul 2018 21:32:49 -0500 Subject: [PATCH] Enable Discord by default if not in config.ini --- text_file_functions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text_file_functions.cpp b/text_file_functions.cpp index 2263fa1..b77e178 100644 --- a/text_file_functions.cpp +++ b/text_file_functions.cpp @@ -579,5 +579,5 @@ bool AOApplication::get_blank_blip() bool AOApplication::is_discord_enabled() { QString f_result = read_config("discord"); - return f_result.startsWith("true"); -} \ No newline at end of file + return !f_result.startsWith("false"); +}