Core/Guild: Broadcast GuildMemberUpdateNote to all members
authorjoschiwald <joschiwald.trinity@gmail.com>
Sun, 22 Apr 2018 17:45:21 +0000 (19:45 +0200)
committerjoschiwald <joschiwald.trinity@gmail.com>
Sun, 22 Apr 2018 17:45:21 +0000 (19:45 +0200)
src/server/game/Guilds/Guild.cpp

index cc91d056c59d9878351242695e40e9e1c555114b..93ad5574a13b0aa1e2bdfa5715eb2bcec7ce92ff 100644 (file)
@@ -1559,13 +1559,11 @@ void Guild::HandleSetMemberNote(WorldSession* session, std::string const& note,
         else
             member->SetOfficerNote(note);
 
-        HandleRoster(session); // FIXME - We should send SMSG_GUILD_MEMBER_UPDATE_NOTE
-
         WorldPackets::Guild::GuildMemberUpdateNote updateNote;
         updateNote.Member = guid;
         updateNote.IsPublic = isPublic;
         updateNote.Note = note;
-        session->SendPacket(updateNote.Write()); // @todo - Verify receiver of this packet...
+        BroadcastPacket(updateNote.Write());
     }
 }