mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
Using IsGMAccount instead of direct check
This commit is contained in:
@@ -1034,7 +1034,7 @@ void WorldSession::HandlePlayerLoginFromDB(LoginQueryHolder* holder)
|
||||
}
|
||||
|
||||
// friend status
|
||||
if (GetSecurity() < SEC_GAMEMASTER) // pussywizard: only for non-gms
|
||||
if (AccountMgr::IsGMAccount(GetSecurity())) // pussywizard: only for non-gms
|
||||
sSocialMgr->SendFriendStatus(pCurrChar, FRIEND_ONLINE, pCurrChar->GetGUIDLow(), true);
|
||||
|
||||
// Place character in world (and load zone) before some object loading
|
||||
|
||||
Reference in New Issue
Block a user