diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-27 15:32:59 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-27 15:32:59 +0000 |
commit | 407ebe550e7d55910bd7a2db530c07c600f019ce (patch) | |
tree | f48f8ba640430957a19e4df71d467ea7420d2d10 | |
parent | a2180fadb0df07552af312b664715fccb9be4461 (diff) |
Whoops loused up a tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8392 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_delayjoin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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)); } } |