aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2018-07-05 21:32:49 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2018-07-05 21:32:49 -0500
commit42e26d67756afc2cb8cdeb97ed654507c7cf4f3e (patch)
tree37e8b620a221beaf124cf9d66d9e1b14773a4ea1
parente36dae20b7d1baba912c55ec55b82a380c4973da (diff)
Enable Discord by default if not in config.ini
-rw-r--r--text_file_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/text_file_functions.cpp b/text_file_functions.cpp
index 2263fa18..b77e1788 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");
+}