From 72aa459b777bf96c25e0fbb3b189c93ae67dda5a Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sun, 8 Jan 2017 08:59:45 +0000 Subject: [PATCH] why create this before chekcing if we're installed? --- .../library/serverUtility/src/shared/AdminAccountManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/library/serverUtility/src/shared/AdminAccountManager.cpp b/engine/server/library/serverUtility/src/shared/AdminAccountManager.cpp index 5f66b597..c80ccd99 100755 --- a/engine/server/library/serverUtility/src/shared/AdminAccountManager.cpp +++ b/engine/server/library/serverUtility/src/shared/AdminAccountManager.cpp @@ -57,8 +57,8 @@ const char *AdminAccountManager::getAdminCommandName() const std::string & AdminAccountManager::getAdminTagName() { - static const std::string s = "*admin*"; DEBUG_FATAL(!ms_installed, ("AdminAccountManager not installed")); + static const std::string s("*admin*"); return s; }