mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
Chat fix.
This commit is contained in:
parent
58892c5025
commit
1ba1696434
3 changed files with 71 additions and 64 deletions
|
|
@ -572,7 +572,7 @@ void Guild::BroadcastToGuild(WorldSession *session, const std::string& msg, uint
|
|||
|
||||
void Guild::BroadcastToOfficers(WorldSession *session, const std::string& msg, uint32 language)
|
||||
{
|
||||
if (session && session->GetPlayer() && HasRankRight(session->GetPlayer()->GetRank(),GR_RIGHT_OFFCHATSPEAK))
|
||||
if (session && session->GetPlayer() && HasRankRight(session->GetPlayer()->GetRank(), GR_RIGHT_OFFCHATSPEAK))
|
||||
{
|
||||
for(MemberList::const_iterator itr = members.begin(); itr != members.end(); ++itr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue