Add a GuildScript class with a handful of hooks.

--HG--
branch : trunk
This commit is contained in:
silinoron
2010-08-14 12:17:05 -07:00
parent d1d7c64c43
commit 8d0a058411
7 changed files with 67 additions and 7 deletions
+1 -1
View File
@@ -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;
}
+2 -1
View File
@@ -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;
}