Core/RBAC: fix RBAC_PERM_COMMANDS_BE_ASSIGNED_TICKET and RBAC_PERM_LOG_GM_TRADE permissions
This commit is contained in:
1 parent
3ceabf962d
commit
19c56cbc0e
1 file changed
+1
-1
@@ -517,7 +517,7 @@ bool AccountMgr::HasPermission(uint32 accountId, uint32 permissionId, uint32 rea
|
||||
return false;
|
||||
}
|
||||
|
||||
rbac::RBACData rbac(accountId, "", realmId);
|
||||
rbac::RBACData rbac(accountId, "", realmId, GetSecurity(accountId));
|
||||
rbac.LoadFromDB();
|
||||
bool hasPermission = rbac.HasPermission(permissionId);
|
||||
|
||||
|
||||
Reference in new issue
Block a user