Core/Groups: Remove unused (and costly) return value from Group::RemoveInvite

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-12-06 20:25:43 +01:00
parent cac0664150
commit 3ae225247a
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -276,14 +276,13 @@ bool Group::AddLeaderInvite(Player *player)
return true;
}
uint32 Group::RemoveInvite(Player *player)
void Group::RemoveInvite(Player *player)
{
if (player)
{
m_invitees.erase(player);
player->SetGroupInvite(NULL);
}
return GetMembersCount();
}
void Group::RemoveAllInvites()
+1 -1
View File
@@ -182,7 +182,7 @@ class Group
bool LoadGroupFromDB(const uint32 &guid, QueryResult result, bool loadMembers = true);
bool LoadMemberFromDB(uint32 guidLow, uint8 memberFlags, uint8 subgroup, uint8 roles);
bool AddInvite(Player *player);
uint32 RemoveInvite(Player *player);
void RemoveInvite(Player *player);
void RemoveAllInvites();
bool AddLeaderInvite(Player *player);
bool AddMember(const uint64 &guid, const char* name);