mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-02 15:17:27 +01:00
* Fix World::SendGMText, only send packet to connections with appropriate security level
--HG-- branch : trunk
This commit is contained in:
@@ -2760,7 +2760,7 @@ void World::SendGMText(int32 string_id, ...)
|
||||
if(!itr->second || !itr->second->GetPlayer() || !itr->second->GetPlayer()->IsInWorld() )
|
||||
continue;
|
||||
|
||||
if(!itr->second->GetSecurity())
|
||||
if(itr->second->GetSecurity() < SEC_MODERATOR )
|
||||
continue;
|
||||
|
||||
wt_do(itr->second->GetPlayer());
|
||||
|
||||
Reference in New Issue
Block a user