From 8fd2f620cef9d43a7271d05e82bdce6705b9af3b Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 27 Oct 2007 15:38:27 +0000 Subject: Dont echo the JOIN to the user whos speaking git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8393 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_delayjoin.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/modules/m_delayjoin.cpp') diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index b837d79c0..ef7d96f5a 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -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; -- cgit v1.2.3