From fa6c93d94c0441e94e9c32be95468d463ac6cf84 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 4 May 2007 15:37:32 +0000 Subject: Forgot something important! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6873 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_invisible.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modules') diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp index 35395ed15..41de98e3d 100644 --- a/src/modules/m_invisible.cpp +++ b/src/modules/m_invisible.cpp @@ -81,6 +81,10 @@ class InvisibleMode : public ModeHandler } dest->SetMode('Q', adding); + + /* Set visibility handler object */ + dest->Visibility = adding ? qo : NULL; + /* User appears to vanish or appear from nowhere */ for (UCListIter f = dest->chans.begin(); f != dest->chans.end(); f++) { -- cgit v1.2.3