RA.MinLevel to Ra.MinLevel (#18387)
Solves https://github.com/TrinityCore/TrinityCore/issues/18386 (cherry picked from commit 023eec874a124a8752c27e5925cfe39508d04485)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user