RA.MinLevel to Ra.MinLevel (#18387)

Solves https://github.com/TrinityCore/TrinityCore/issues/18386
(cherry picked from commit 023eec874a)
This commit is contained in:
Sean Rhone
2016-12-02 09:19:30 +01:00
committed by joschiwald
parent 76a56d489b
commit f18f75bbb7

View File

@@ -137,7 +137,7 @@ bool RASession::CheckAccessLevel(const std::string& user)
Field* fields = result->Fetch();
if (fields[1].GetUInt8() < sConfigMgr->GetIntDefault("RA.MinLevel", 3))
if (fields[1].GetUInt8() < sConfigMgr->GetIntDefault("Ra.MinLevel", SEC_ADMINISTRATOR))
{
TC_LOG_INFO("commands.ra", "User %s has no privilege to login", user.c_str());
return false;