Dungeon Finder: Add config value to Enable/Disable Dungeon Finder

Note: Default value = Disable (while is WIP)

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-14 03:25:43 +02:00
parent f12b51c218
commit ff726c2792
5 changed files with 15 additions and 1 deletions
@@ -25,6 +25,11 @@
void WorldSession::HandleLfgJoinOpcode(WorldPacket &recv_data)
{
sLog.outDebug("CMSG_LFG_JOIN");
if (!sWorld.getConfig(CONFIG_DUNGEON_FINDER_ENABLE))
{
recv_data.rpos(recv_data.wpos());
return;
}
uint8 numDungeons;
uint32 dungeon;