Core/Account: Fix security level not updating in RBAC
This commit is contained in:
1 parent
31a04a1de1
commit
e80375a7a9
1 file changed
+1
-1
@@ -514,7 +514,7 @@ void AccountMgr::LoadRBAC()
|
||||
|
||||
void AccountMgr::UpdateAccountAccess(rbac::RBACData* rbac, uint32 accountId, uint8 securityLevel, int32 realmId)
|
||||
{
|
||||
if (rbac && securityLevel == rbac->GetSecurityLevel())
|
||||
if (rbac && securityLevel != rbac->GetSecurityLevel())
|
||||
rbac->SetSecurityLevel(securityLevel);
|
||||
|
||||
LoginDatabaseTransaction trans = LoginDatabase.BeginTransaction();
|
||||
|
||||
Reference in new issue
Block a user