mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Typo fix
This commit is contained in:
@@ -140,7 +140,7 @@ bool ChatHandler::isAvailable(ChatCommand const& cmd) const
|
||||
permission = RBAC_PERM_PLAYER_COMMANDS;
|
||||
break;
|
||||
default: // Allow custom security levels for commands
|
||||
return m_session->GetSecurity() >= AccountTypes(cmd.SecurityLevel)
|
||||
return m_session->GetSecurity() >= AccountTypes(cmd.SecurityLevel);
|
||||
}
|
||||
|
||||
return m_session->HasPermission(permission);
|
||||
|
||||
Reference in New Issue
Block a user