mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
Dropped old code.
This commit is contained in:
parent
5895cb38e3
commit
83b41546aa
7 changed files with 159 additions and 401 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue