summaryrefslogtreecommitdiff
path: root/src/modules/m_invisible.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-04 15:37:32 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-04 15:37:32 +0000
commitfa6c93d94c0441e94e9c32be95468d463ac6cf84 (patch)
treec4cbb16fb9032cba964809a6a4ebe2597a5653c3 /src/modules/m_invisible.cpp
parentfbb32452c3f4c2ea14ba1ba647369c6f508d916f (diff)
Forgot something important!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6873 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_invisible.cpp')
-rw-r--r--src/modules/m_invisible.cpp4
1 files changed, 4 insertions, 0 deletions
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++)
{