]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Dont echo the JOIN to the user whos speaking
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 27 Oct 2007 15:38:27 +0000 (15:38 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 27 Oct 2007 15:38:27 +0000 (15:38 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8393 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_delayjoin.cpp

index b837d79c0220726910928cb127dd88bf53a3d58a..ef7d96f5adfe7d59221834dfdaa94eb5fae16321 100644 (file)
@@ -220,7 +220,11 @@ class ModuleDelayJoin : public Module
 
                for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++)
                {
-                       /* User only appears to vanish for non-opers */
+                       /* User doesnt get a JOIN sent to themselves */
+                       if (user == i->first)
+                               continue;
+
+                       /* Users with a visibility state that hides them dont appear */
                        if (user->Visibility && !user->Visibility->VisibleTo(i->first))
                                continue;