From 407ebe550e7d55910bd7a2db530c07c600f019ce Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 27 Oct 2007 15:32:59 +0000 Subject: Whoops loused up a tweak git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8392 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_delayjoin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index ff6f7966f..b837d79c0 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -221,10 +221,10 @@ class ModuleDelayJoin : public Module for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++) { /* User only appears to vanish for non-opers */ - if (user->Visibility && user->Visibility->VisibleTo(i->first)) - { - i->first->Write(std::string(tb)); - } + if (user->Visibility && !user->Visibility->VisibleTo(i->first)) + continue; + + i->first->Write(std::string(tb)); } } -- cgit v1.2.3