Skip to content

Commit

Permalink
[6973] Fixed storing demotes in guild log. Patch provided by vdesai
Browse files Browse the repository at this point in the history
  • Loading branch information
arrai committed Dec 29, 2008
1 parent 275f6cd commit 0d2b8e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/GuildHandler.cpp
Expand Up @@ -373,7 +373,7 @@ void WorldSession::HandleGuildDemoteOpcode(WorldPacket& recvPacket)

guild->ChangeRank(plGuid, (slot->RankId+1));
// Put record into guildlog
guild->LogGuildEvent(GUILD_EVENT_LOG_DEMOTE_PLAYER, GetPlayer()->GetGUIDLow(), GUID_LOPART(plGuid), (slot->RankId+1));
guild->LogGuildEvent(GUILD_EVENT_LOG_DEMOTE_PLAYER, GetPlayer()->GetGUIDLow(), GUID_LOPART(plGuid), slot->RankId);

WorldPacket data(SMSG_GUILD_EVENT, (2+30)); // guess size
data << (uint8)GE_DEMOTION;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "6972"
#define REVISION_NR "6973"
#endif // __REVISION_NR_H__

0 comments on commit 0d2b8e0

Please sign in to comment.