Add a GuildScript class with a handful of hooks.
--HG-- branch : trunk
This commit is contained in:
@@ -1635,7 +1635,7 @@ valid examples:
|
||||
if (!foundName)
|
||||
{
|
||||
#ifdef TRINITY_DEBUG
|
||||
sLog.outBasic("ChatHandler::isValidChatMessage no quest locale title matched")
|
||||
sLog.outBasic("ChatHandler::isValidChatMessage no quest locale title matched");
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -3804,6 +3804,7 @@ bool ChatHandler::HandleGuildUninviteCommand(const char *args)
|
||||
return false;
|
||||
|
||||
uint32 glId = target ? target->GetGuildId () : Player::GetGuildIdFromDB (target_guid);
|
||||
|
||||
if (!glId)
|
||||
return false;
|
||||
|
||||
@@ -3811,7 +3812,7 @@ bool ChatHandler::HandleGuildUninviteCommand(const char *args)
|
||||
if (!targetGuild)
|
||||
return false;
|
||||
|
||||
targetGuild->DelMember (target_guid);
|
||||
targetGuild->DelMember (target_guid, false, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user