diff options
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r-- | src/server/scripts/Commands/cs_account.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/scripts/Commands/cs_account.cpp b/src/server/scripts/Commands/cs_account.cpp index 0b54b04983e..75e191c3fba 100644 --- a/src/server/scripts/Commands/cs_account.cpp +++ b/src/server/scripts/Commands/cs_account.cpp @@ -697,9 +697,10 @@ public: uint32 playerSecurity; if (handler->IsConsole()) - playerSecurity = AccountMgr::GetSecurity(handler->GetSession()->GetAccountId(), realmID); - else playerSecurity = SEC_CONSOLE; + else + playerSecurity = AccountMgr::GetSecurity(handler->GetSession()->GetAccountId(), realmID); + // can set security level only for target with less security and to less security that we have // This also restricts setting handler's own security. |