summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_delayjoin.cpp6
1 files changed, 5 insertions, 1 deletions
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;