aboutsummaryrefslogtreecommitdiff
path: root/src/game/Channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Channel.cpp')
-rw-r--r--src/game/Channel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Channel.cpp b/src/game/Channel.cpp
index 68de32fd690..0047892972b 100644
--- a/src/game/Channel.cpp
+++ b/src/game/Channel.cpp
@@ -161,8 +161,7 @@ void Channel::Join(uint64 p, const char *pass)
if (plr)
{
if (HasFlag(CHANNEL_FLAG_LFG) &&
- sWorld.getConfig(CONFIG_RESTRICTED_LFG_CHANNEL) && plr->GetSession()->GetSecurity() == SEC_PLAYER &&
- (plr->GetGroup() || plr->m_lookingForGroup.Empty()))
+ sWorld.getConfig(CONFIG_RESTRICTED_LFG_CHANNEL) && plr->GetSession()->GetSecurity() == SEC_PLAYER && plr->GetGroup())
{
MakeNotInLfg(&data);
SendToOne(&data, p);