diff options
Diffstat (limited to 'src/scripts/Commands/cs_gm.cpp')
-rw-r--r-- | src/scripts/Commands/cs_gm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/Commands/cs_gm.cpp b/src/scripts/Commands/cs_gm.cpp index d88c6138aa..9268272d2d 100644 --- a/src/scripts/Commands/cs_gm.cpp +++ b/src/scripts/Commands/cs_gm.cpp @@ -83,7 +83,7 @@ public: return false; Player* target = handler->getSelectedPlayer(); - if (!target || handler->GetSession()->GetSecurity() < SEC_GAMEMASTER) + if (!target || AccountMgr::IsGMAccount(handler->GetSession()->GetSecurity())) target = handler->GetSession()->GetPlayer(); WorldPacket data(12); |