Dropped old code.

This commit is contained in:
TOM_RUS 2011-04-18 06:58:27 +04:00
parent 5895cb38e3
commit 83b41546aa
7 changed files with 159 additions and 401 deletions

View file

@ -81,9 +81,7 @@ void Channel::Join(uint64 p, const char *pass)
if(plr)
{
if(HasFlag(CHANNEL_FLAG_LFG) &&
sWorld.getConfig(CONFIG_BOOL_RESTRICTED_LFG_CHANNEL) && plr->GetSession()->GetSecurity() == SEC_PLAYER &&
(plr->GetGroup() || plr->m_lookingForGroup.Empty()) )
if(HasFlag(CHANNEL_FLAG_LFG) && sWorld.getConfig(CONFIG_BOOL_RESTRICTED_LFG_CHANNEL) && plr->GetSession()->GetSecurity() == SEC_PLAYER )
{
MakeNotInLfg(&data);
SendToOne(&data, p);