mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/Guilds: Fix setting guild notes
This commit is contained in:
@@ -151,7 +151,7 @@ void WorldSession::HandleGuildSetPublicNoteOpcode(WorldPackets::Guild::GuildSetM
|
||||
|
||||
if (normalizePlayerName(packet.NoteeName))
|
||||
if (Guild* guild = GetPlayer()->GetGuild())
|
||||
guild->HandleSetMemberNote(this, packet.Note, packet.NoteeName, false);
|
||||
guild->HandleSetMemberNote(this, packet.Note, packet.NoteeName, true);
|
||||
}
|
||||
|
||||
void WorldSession::HandleGuildSetOfficerNoteOpcode(WorldPackets::Guild::GuildSetMemberNote& packet)
|
||||
@@ -161,7 +161,7 @@ void WorldSession::HandleGuildSetOfficerNoteOpcode(WorldPackets::Guild::GuildSet
|
||||
|
||||
if (normalizePlayerName(packet.NoteeName))
|
||||
if (Guild* guild = GetPlayer()->GetGuild())
|
||||
guild->HandleSetMemberNote(this, packet.Note, packet.NoteeName, true);
|
||||
guild->HandleSetMemberNote(this, packet.Note, packet.NoteeName, false);
|
||||
}
|
||||
|
||||
void WorldSession::HandleGuildSetRankPermissions(WorldPackets::Guild::GuildSetRankPermissions& packet)
|
||||
|
||||
Reference in New Issue
Block a user