From fbb32452c3f4c2ea14ba1ba647369c6f508d916f Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 4 May 2007 15:02:17 +0000 Subject: Check visibility states git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6872 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_ison.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cmd_ison.cpp') diff --git a/src/cmd_ison.cpp b/src/cmd_ison.cpp index 1f177d230..fde8666ff 100644 --- a/src/cmd_ison.cpp +++ b/src/cmd_ison.cpp @@ -60,6 +60,9 @@ CmdResult cmd_ison::Handle (const char** parameters, int pcnt, userrec *user) if (u) { + if (u->Visibility && !u->Visibility->VisibleTo(user)) + continue; + reply.append(u->nick).append(" "); if (reply.length() > 450) { -- cgit v1.2.3